"""Classes that can be mixed-in to HasProps classes to get them the corresponding attributes. """

from .properties import HasProps, ColorSpec, DataSpec, Enum, DashPattern, Int, String
from .enums import LineJoin, LineCap, FontStyle, TextAlign, TextBaseline

class FillProps(HasProps):
    """ Mirrors the BokehJS properties.fill_properties class """
    fill_color = ColorSpec("gray")
    fill_alpha = DataSpec(1.0)

class LineProps(HasProps):
    """ Mirrors the BokehJS properties.line_properties class """
    line_color = ColorSpec("black")
    line_width = DataSpec
    line_alpha = DataSpec(1.0)
    line_join = Enum(LineJoin)
    line_cap = Enum(LineCap)
    line_dash = DashPattern
    line_dash_offset = Int(0)

class TextProps(HasProps):
    """ Mirrors the BokehJS properties.text_properties class """
    text_font = String("Helvetica")
    text_font_size = String("10pt")
    text_font_style = Enum(FontStyle)
    text_color = ColorSpec("black")
    text_alpha = DataSpec(1.0)
    text_align = Enum(TextAlign)
    text_baseline = Enum(TextBaseline)

"""Classes that can be mixed-in to HasProps classes to get them the corresponding attributes. """

from .properties import HasProps, ColorSpec, DataSpec, Enum, DashPattern, Int, String
from .enums import LineJoin, LineCap, FontStyle, TextAlign, TextBaseline

class FillProps(HasProps):
    """ Mirrors the BokehJS properties.fill_properties class """
    fill_color = ColorSpec("gray")
    fill_alpha = DataSpec(1.0)

class LineProps(HasProps):
    """ Mirrors the BokehJS properties.line_properties class """
    line_color = ColorSpec("black")
    line_width = DataSpec
    line_alpha = DataSpec(1.0)
    line_join = Enum(LineJoin)
    line_cap = Enum(LineCap)
    line_dash = DashPattern
    line_dash_offset = Int(0)

class TextProps(HasProps):
    """ Mirrors the BokehJS properties.text_properties class """
    text_font = String("Helvetica")
    text_font_size = String("12pt")
    text_font_style = Enum(FontStyle)
    text_color = ColorSpec("#444444")
    text_alpha = DataSpec(1.0)
    text_align = Enum(TextAlign)
    text_baseline = Enum(TextBaseline, default="bottom")

Unify bokeh's text properties' values with bokehjs
Unify bokeh's text properties' values with bokehjs

  """Classes that can be mixed-in to HasProps classes to get them the corresponding attributes. """
  
  from .properties import HasProps, ColorSpec, DataSpec, Enum, DashPattern, Int, String
  from .enums import LineJoin, LineCap, FontStyle, TextAlign, TextBaseline
  
  class FillProps(HasProps):
      """ Mirrors the BokehJS properties.fill_properties class """
      fill_color = ColorSpec("gray")
      fill_alpha = DataSpec(1.0)
  
  class LineProps(HasProps):
      """ Mirrors the BokehJS properties.line_properties class """
      line_color = ColorSpec("black")
      line_width = DataSpec
      line_alpha = DataSpec(1.0)
      line_join = Enum(LineJoin)
      line_cap = Enum(LineCap)
      line_dash = DashPattern
      line_dash_offset = Int(0)
  
  class TextProps(HasProps):
      """ Mirrors the BokehJS properties.text_properties class """
      text_font = String("Helvetica")
-     text_font_size = String("10pt")
+     text_font_size = String("12pt")
      text_font_style = Enum(FontStyle)
-     text_color = ColorSpec("black")
+     text_color = ColorSpec("#444444")
      text_alpha = DataSpec(1.0)
      text_align = Enum(TextAlign)
-     text_baseline = Enum(TextBaseline)
+     text_baseline = Enum(TextBaseline, default="bottom")
  
Unify bokeh's text properties' values with bokehjs
## Code Before:
"""Classes that can be mixed-in to HasProps classes to get them the corresponding attributes. """

from .properties import HasProps, ColorSpec, DataSpec, Enum, DashPattern, Int, String
from .enums import LineJoin, LineCap, FontStyle, TextAlign, TextBaseline

class FillProps(HasProps):
    """ Mirrors the BokehJS properties.fill_properties class """
    fill_color = ColorSpec("gray")
    fill_alpha = DataSpec(1.0)

class LineProps(HasProps):
    """ Mirrors the BokehJS properties.line_properties class """
    line_color = ColorSpec("black")
    line_width = DataSpec
    line_alpha = DataSpec(1.0)
    line_join = Enum(LineJoin)
    line_cap = Enum(LineCap)
    line_dash = DashPattern
    line_dash_offset = Int(0)

class TextProps(HasProps):
    """ Mirrors the BokehJS properties.text_properties class """
    text_font = String("Helvetica")
    text_font_size = String("10pt")
    text_font_style = Enum(FontStyle)
    text_color = ColorSpec("black")
    text_alpha = DataSpec(1.0)
    text_align = Enum(TextAlign)
    text_baseline = Enum(TextBaseline)

## Instruction:
Unify bokeh's text properties' values with bokehjs
## Code After:
"""Classes that can be mixed-in to HasProps classes to get them the corresponding attributes. """

from .properties import HasProps, ColorSpec, DataSpec, Enum, DashPattern, Int, String
from .enums import LineJoin, LineCap, FontStyle, TextAlign, TextBaseline

class FillProps(HasProps):
    """ Mirrors the BokehJS properties.fill_properties class """
    fill_color = ColorSpec("gray")
    fill_alpha = DataSpec(1.0)

class LineProps(HasProps):
    """ Mirrors the BokehJS properties.line_properties class """
    line_color = ColorSpec("black")
    line_width = DataSpec
    line_alpha = DataSpec(1.0)
    line_join = Enum(LineJoin)
    line_cap = Enum(LineCap)
    line_dash = DashPattern
    line_dash_offset = Int(0)

class TextProps(HasProps):
    """ Mirrors the BokehJS properties.text_properties class """
    text_font = String("Helvetica")
    text_font_size = String("12pt")
    text_font_style = Enum(FontStyle)
    text_color = ColorSpec("#444444")
    text_alpha = DataSpec(1.0)
    text_align = Enum(TextAlign)
    text_baseline = Enum(TextBaseline, default="bottom")
