Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Dict NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list Assign NameStore TupleLoad Str Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body If Call NameLoad NameLoad Str body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr Str body If CompareIn SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num NameLoad body Return Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Str Return Call NameLoad NameLoad NameLoad Dict NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str If UnaryOpNot NameLoad body Raise NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num If Call NameLoad NameLoad NameLoad body Assign NameStore ListComp TupleLoad Call NameLoad BinOpMult Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Dict Str Str Assign NameStore Dict Str NameLoad If BoolOpAnd NameLoad CompareIn NameLoad ListComp Call AttributeLoad NameLoad attr Str NameLoad comprehension NameStore AttributeLoad NameLoad attr body Raise NameLoad orelse If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body If Call NameLoad SubscriptLoad NameLoad Index NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Dict NameLoad SubscriptLoad NameLoad Index NameLoad orelse Expr Call AttributeLoad NameLoad attr Dict NameLoad Dict Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListComp Call NameLoad SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr Assign NameStore ListComp SubscriptLoad NameLoad Index Num comprehension NameStore Call NameLoad ListComp SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Return BinOpDiv Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
    pyflot.graph

    This module implements the main classes.

    :copyright: (c) 2011 by Brian Luft
    :license: MIT, see LICENSE for more details.
 N/A collections datetime date functools partial itertools chain N/A inspect N/A json N/A time django.utils.safestring mark_safe N/A __title__ pyflot N/A __version__ 0.2.2 N/A __author__ Brian Luft N/A __license__ MIT N/A __copyright__ Copyright 2011 Brian Luft safe_json N/A N/A obj N/A N/A N/A N/A mark_safe N/A N/A json dumps obj N/A update N/A N/A d u N/A N/A N/A 
    Recursively update nested dicts

    Credit: Alex Martelli
     N/A N/A k v N/A N/A u iteritems N/A N/A N/A isinstance v N/A collections Mapping N/A N/A r N/A update N/A N/A d get k N/A v N/A N/A d N/A k r N/A N/A N/A d N/A k N/A u N/A k N/A d N/A MissingDataException N/A Exception N/A N/A Exception raised when a series does not contain
    any data points N/A DuplicateLabelException N/A Exception N/A N/A Exception raised when an attempt is made to 
    label a new series with a label already in use N/A N/A LINE_TYPES N/A bars line points Flot N/A object N/A N/A 
    Represents a ``flot`` graph

    This is a Python representation of a flot graph with the
    goal preserving the flot attribute names and organization
    of the options. A Flot instance will allow you to 
    use your Python data structures as is and will handle
    the details of converting to valid JSON with items 
    formatted properly for ``flot``. (Handy for time series
    for example)
     __init__ N/A N/A self N/A N/A N/A N/A self _series N/A N/A N/A self _options N/A N/A bases N/A list N/A N/A inspect getmro N/A self __class__ N/A N/A N/A bases reverse N/A base bases N/A N/A N/A hasattr base options N/A N/A N/A update N/A self _options N/A base options N/A series_json N/A N/A self N/A N/A N/A 
        Returns a string with each data series
        associated with this graph formatted as JSON, 
        suitable for passing to the ``$.plot`` method.
         N/A N/A safe_json N/A N/A N/A self prepare_series s N/A s N/A self _series N/A property options_json N/A N/A self N/A N/A N/A 
        Returns a JSON string representing the global options
        for this graph in a format suitable for passing to 
        the ``$.plot`` method as the options parameter.
         N/A N/A safe_json N/A self _options N/A property __getattr__ N/A N/A self value N/A N/A N/A 
        add_bars
        add_line
        add_points

        provides shortcut methods for adding series using a particular line type
         N/A N/A N/A value startswith add_ N/A N/A N/A N/A N/A N/A value split _ N/A 1 LINE_TYPES N/A N/A N/A partial N/A self add_series_type N/A value N/A 4 N/A AttributeError N/A add_series_type N/A N/A self line_type series label N/A None kwargs N/A N/A Used as a partial by __getattr__ to auto set the line_type
        for the series. N/A method N/A getattr self add_series N/A N/A method series label N/A line_type True N/A add_series N/A N/A self series label N/A None kwargs N/A N/A 
        A series is a list of pairs (2-tuples)

        Optional Args:
            bars
            line
            points - for each of these present as keyword arguments,
                     their value should be a dict representing the 
                     line type options relative to their type. 
                     Alternatively, if the value is `True` the option 
                     for showing the line type {'show': True} will
                     be set for the options for this line type.
         N/A N/A series N/A N/A MissingDataException N/A testatom N/A N/A series N/A 0 N/A 0 N/A N/A isinstance testatom date N/A N/A series N/A N/A N/A int N/A N/A N/A time mktime N/A N/A ts timetuple 1000 val N/A N/A ts val series N/A N/A N/A self _options N/A xaxis N/A mode time N/A new_series N/A data series N/A N/A label N/A label N/A N/A N/A x get label None N/A x N/A self _series N/A N/A DuplicateLabelException N/A N/A label N/A N/A N/A N/A new_series update label label N/A line_type LINE_TYPES N/A N/A N/A line_type kwargs N/A N/A N/A isinstance N/A kwargs N/A line_type N/A collections Mapping N/A N/A N/A N/A new_series update N/A line_type N/A kwargs N/A line_type N/A N/A N/A N/A new_series update N/A line_type N/A show True N/A N/A N/A N/A self _series append new_series N/A calculate_bar_width N/A N/A self N/A N/A N/A Determines which series has the most data points and then
        calculates a width for bars based on the range for `x` for that
        series. Flot treats the barWidth setting in terms of graph
        units (not pixels). N/A slices N/A max N/A N/A len N/A s N/A data N/A s N/A self _series N/A xs N/A N/A pair N/A 0 N/A pair N/A chain N/A N/A s N/A data N/A s N/A self _series N/A N/A xmin xmax N/A N/A min xs N/A max xs N/A w N/A xmax xmin N/A N/A N/A float w slices N/A prepare_series N/A N/A self series N/A N/A N/A Called for each series when the data is being serialized to 
        JSON. Override to set any options based on characteristics of the
        series.

        Currently used to ensure that any bars series get a consistent
        barWidth. N/A N/A bars series N/A N/A w N/A N/A self calculate_bar_width N/A w N/A N/A N/A N/A series N/A bars N/A barWidth w N/A series N/A N/A