Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Num Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If BoolOpAnd CompareIsNot NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr orelse Return BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr orelse Return BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Return TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad GeneratorExp Call NameLoad AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListComp Num comprehension NameStore Call NameLoad Num NameLoad Assign NameStore Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If NameLoad body If CompareGt NameLoad Num body AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad orelse AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A Code related to bar charts. N/A copy N/A warnings graphy common graphy util BarsStyle N/A object N/A N/A Style of a series of bars in a BarChart

  Object Attributes:
    color:  Hex string, like '00ff00' for green
   __init__ N/A N/A self color N/A N/A N/A N/A self color color N/A N/A BarChartStyle N/A object N/A N/A Represents the style for bars on a BarChart.

  Any of the object attributes may be set to None, in which case the
  value will be auto-calculated.

  Object Attributes:
    bar_thickness: The thickness of a bar, in pixels.
    bar_gap: The gap between bars, in pixels, or as a fraction of bar thickness
        if use_fractional_gap_spacing is True.
    group_gap: The gap between groups of bars, in pixels, or as a fraction of
        bar thickness if use_fractional_gap_spacing is True.
    use_fractional_gap_spacing: if True, bar_gap and group_gap specify gap
        sizes as a fraction of bar width. Default is False.
   N/A _DEFAULT_GROUP_GAP 8 N/A _DEFAULT_BAR_GAP 4 __init__ N/A N/A self bar_thickness bar_gap group_gap use_fractional_gap_spacing N/A None _DEFAULT_BAR_GAP _DEFAULT_GROUP_GAP False N/A N/A Create a new BarChartStyle.

    Args:
     bar_thickness: The thickness of a bar, in pixels. Set this to None if
       you want the bar thickness to be auto-calculated (this is the default
       behaviour).
     bar_gap: The gap between bars, in pixels. Default is 4.
     group_gap: The gap between groups of bars, in pixels. Default is 8.
     N/A N/A self bar_thickness bar_thickness N/A N/A self bar_gap bar_gap N/A N/A self group_gap group_gap N/A N/A self use_fractional_gap_spacing use_fractional_gap_spacing N/A N/A BarStyle N/A BarChartStyle N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A warnings warn BarStyle is deprecated.  Use BarChartStyle. DeprecationWarning stacklevel 2 N/A N/A N/A N/A super BarStyle self __init__ args kwargs N/A N/A BarChart N/A N/A common BaseChart N/A N/A Represents a bar chart.

  Object attributes:
    vertical: if True, the bars will be vertical. Default is True.
    stacked: if True, the bars will be stacked. Default is False.
    style: The BarChartStyle for all bars on this chart, specifying bar
      thickness and gaps between bars.
   __init__ N/A N/A self points N/A None N/A N/A Constructor for BarChart objects. N/A N/A N/A N/A super BarChart self __init__ N/A N/A points None N/A N/A N/A N/A self AddBars points N/A N/A self vertical True N/A N/A self stacked False N/A N/A self style N/A BarChartStyle None None None N/A AddBars N/A N/A self points label color N/A None None N/A N/A Add a series of bars to the chart.

      points: List of y-values for the bars in this series
      label:  Name of the series (used in the legend)
      color:  Hex string, like '00ff00' for green

    This is a convenience method which constructs & appends the DataSeries for
    you.
     N/A N/A N/A label None N/A N/A util _IsColor label N/A N/A N/A N/A warnings warn Your code may be broken! Label is a hex triplet.  Maybe it is a color? The old argument order (color before label) is deprecated. DeprecationWarning stacklevel 2 N/A style N/A BarsStyle color N/A series N/A N/A common DataSeries points label label style style N/A N/A N/A N/A self data append series N/A series N/A GetDependentAxes N/A N/A self N/A N/A N/A Get the dependendant axes, which depend on orientation. N/A N/A self vertical N/A N/A N/A N/A N/A self _axes N/A N/A N/A common AxisPosition LEFT N/A N/A self _axes N/A N/A N/A common AxisPosition RIGHT N/A N/A N/A N/A N/A self _axes N/A N/A N/A common AxisPosition TOP N/A N/A self _axes N/A N/A N/A common AxisPosition BOTTOM N/A GetIndependentAxes N/A N/A self N/A N/A N/A Get the independendant axes, which depend on orientation. N/A N/A self vertical N/A N/A N/A N/A N/A self _axes N/A N/A N/A common AxisPosition TOP N/A N/A self _axes N/A N/A N/A common AxisPosition BOTTOM N/A N/A N/A N/A N/A self _axes N/A N/A N/A common AxisPosition LEFT N/A N/A self _axes N/A N/A N/A common AxisPosition RIGHT N/A GetDependentAxis N/A N/A self N/A N/A N/A Get the main dependendant axis, which depends on orientation. N/A N/A self vertical N/A N/A N/A self left N/A N/A N/A self bottom N/A GetIndependentAxis N/A N/A self N/A N/A N/A Get the main independendant axis, which depends on orientation. N/A N/A self vertical N/A N/A N/A self bottom N/A N/A N/A self left N/A GetMinMaxValues N/A N/A self N/A N/A N/A Get the largest & smallest bar values as (min_value, max_value). N/A N/A N/A self stacked N/A N/A N/A N/A N/A super BarChart self GetMinMaxValues N/A N/A N/A self data N/A N/A N/A None None N/A num_bars N/A max N/A N/A len N/A series data N/A series N/A self data N/A positives N/A 0 N/A i N/A xrange 0 num_bars N/A negatives N/A list positives N/A series N/A self data N/A N/A N/A i point N/A enumerate N/A series data N/A N/A point N/A N/A N/A point 0 N/A N/A N/A positives N/A i point N/A N/A N/A negatives N/A i point N/A min_value N/A min N/A min positives N/A min negatives N/A max_value N/A max N/A max positives N/A max negatives N/A N/A min_value max_value N/A N/A