| |
- __builtin__.object
-
- Dataplot
- dataplot.PlotError(exceptions.Exception)
-
- DataplotImproperlyConfigured
- django.db.models.base.ModelBase(__builtin__.type)
-
- ModelBase
class Dataplot(__builtin__.object) |
|
Parsing logic for dataplot autoconfig tuples.
This is just used for DRY convenience here and should not be used
outside this module. |
|
Methods defined here:
- __init__(self, plot)
- Initialize a dataplot using sensible defaults.
This can be a
dataplot (subclass of dataplot.GenericPlot, i.e. R.Scatter) in
this case, we assume basename of scatter and a plot method
called get_scatter_args.
tuple (dataplot,dict) where dict is a dictionary of kwargs
used to initialize the dataplot. So you can use this form if
you want to override the default basename, get_plot_args
method, or other plot parameters.
- get_method(self)
- Construct a data-returning method from the tuple.
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'Dataplot' objects>
- list of weak references to the object (if defined)
|
class ModelBase(django.db.models.base.ModelBase) |
|
Extend ModelBase to initialize dataplots. |
|
- Method resolution order:
- ModelBase
- django.db.models.base.ModelBase
- __builtin__.type
- __builtin__.object
Methods defined here:
- __init__(self, *posargs, **kwargs)
- automatic dataplot construction based on DATAPLOTS syntax
Methods inherited from django.db.models.base.ModelBase:
- add_to_class(cls, name, value)
Static methods inherited from django.db.models.base.ModelBase:
- __new__(cls, name, bases, attrs)
Methods inherited from __builtin__.type:
- __call__(...)
- x.__call__(...) <==> x(...)
- __cmp__(...)
- x.__cmp__(y) <==> cmp(x,y)
- __delattr__(...)
- x.__delattr__('name') <==> del x.name
- __getattribute__(...)
- x.__getattribute__('name') <==> x.name
- __hash__(...)
- x.__hash__() <==> hash(x)
- __repr__(...)
- x.__repr__() <==> repr(x)
- __setattr__(...)
- x.__setattr__('name', value) <==> x.name = value
- __subclasses__(...)
- __subclasses__() -> list of immediate subclasses
- mro(...)
- mro() -> list
return a type's method resolution order
Data and other attributes inherited from __builtin__.type:
- __base__ = <class 'django.db.models.base.ModelBase'>
- __bases__ = (<class 'django.db.models.base.ModelBase'>,)
- __basicsize__ = 420
- __dict__ = <dictproxy object>
- __dictoffset__ = 132
- __flags__ = 22523
- __itemsize__ = 20
- __mro__ = (<class 'dataplot.models.ModelBase'>, <class 'django.db.models.base.ModelBase'>, <type 'type'>, <type 'object'>)
- __weakrefoffset__ = 184
| |