<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module dataplot.plotmodels</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="dataplot.html"><font color="#ffffff">dataplot</font></a>.plotmodels</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/thocking/dataplot/docs/htdocs/pydoc/dataplot/plotmodels.py">/home/thocking/dataplot/docs/htdocs/pydoc/dataplot/plotmodels.py</a></font></td></tr></table>
<p><tt>Auto-define and -update mechanism for django-dataplot images.<br>
<br>
Comment out this line in your models.py:<br>
# from django.db import models<br>
<br>
Then add:<br>
from dataplot import plotmodels as models</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="django.db.models.base.html">django.db.models.base</a><br>
<a href="dataplot.html">dataplot</a><br>
<a href="datetime.html">datetime</a><br>
<a href="decimal.html">decimal</a><br>
<a href="django.dispatch.dispatcher.html">django.dispatch.dispatcher</a><br>
</td><td width="25%" valign=top><a href="django.db.models.fields.html">django.db.models.fields</a><br>
<a href="django.newforms.html">django.newforms</a><br>
<a href="django.db.models.loading.html">django.db.models.loading</a><br>
<a href="django.db.models.manager.html">django.db.models.manager</a><br>
<a href="django.db.models.manipulators.html">django.db.models.manipulators</a><br>
</td><td width="25%" valign=top><a href="django.oldforms.html">django.oldforms</a><br>
<a href="django.db.models.options.html">django.db.models.options</a><br>
<a href="os.html">os</a><br>
<a href="pdb.html">pdb</a><br>
<a href="django.db.models.query.html">django.db.models.query</a><br>
</td><td width="25%" valign=top><a href="re.html">re</a><br>
<a href="django.db.models.fields.related.html">django.db.models.fields.related</a><br>
<a href="django.db.models.signals.html">django.db.models.signals</a><br>
<a href="time.html">time</a><br>
<a href="django.core.validators.html">django.core.validators</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#dict">__builtin__.dict</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="dataplot.plotmodels.html#Dataplot">Dataplot</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="dataplot.html#PlotError">dataplot.PlotError</a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="dataplot.plotmodels.html#DataplotImproperlyConfigured">DataplotImproperlyConfigured</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="django.db.models.base.html#Model">django.db.models.base.Model</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="dataplot.plotmodels.html#Model">Model</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="django.db.models.base.html#ModelBase">django.db.models.base.ModelBase</a>(<a href="__builtin__.html#type">__builtin__.type</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="dataplot.plotmodels.html#ModelBase">ModelBase</a>
</font></dt></dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Dataplot">class <strong>Dataplot</strong></a>(<a href="__builtin__.html#dict">__builtin__.dict</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Parsing logic for dataplot autoconfig tuples.<br>
<br>
This is just used for DRY convenience here and should not be used<br>
outside this module.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.plotmodels.html#Dataplot">Dataplot</a></dd>
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Dataplot-__init__"><strong>__init__</strong></a>(self, plot, toset)</dt><dd><tt>Initialize a dataplot using sensible defaults.<br>
<br>
This can be a<br>
<br>
dataplot (subclass of dataplot.GenericPlot, i.e. R.Scatter) in<br>
this case, we assume basename of scatter and a plot method<br>
called get_scatter_args.<br>
<br>
tuple (dataplot,<a href="__builtin__.html#dict">dict</a>) where <a href="__builtin__.html#dict">dict</a> is a dictionary of kwargs<br>
used to initialize the dataplot. So you can use this form if<br>
you want to override the default basename, get_plot_args<br>
method, or other plot parameters.</tt></dd></dl>
<dl><dt><a name="Dataplot-defaults"><strong>defaults</strong></a>(self)</dt><dd><tt>Derive sensible defaults from provided info.</tt></dd></dl>
<dl><dt><a name="Dataplot-set_attribute"><strong>set_attribute</strong></a>(self)</dt><dd><tt>Set dataplot instance.</tt></dd></dl>
<dl><dt><a name="Dataplot-set_method"><strong>set_method</strong></a>(self)</dt><dd><tt>Set data-gathering method if necessary.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'Dataplot' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
<hr>
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><a name="Dataplot-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
<dl><dt><a name="Dataplot-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-__contains__">__contains__</a>(k) -> True if D has a key k, else False</tt></dd></dl>
<dl><dt><a name="Dataplot-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl>
<dl><dt><a name="Dataplot-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl>
<dl><dt><a name="Dataplot-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl>
<dl><dt><a name="Dataplot-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="Dataplot-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl>
<dl><dt><a name="Dataplot-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl>
<dl><dt><a name="Dataplot-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl>
<dl><dt><a name="Dataplot-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl>
<dl><dt><a name="Dataplot-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl>
<dl><dt><a name="Dataplot-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__len__">__len__</a>() <==> len(x)</tt></dd></dl>
<dl><dt><a name="Dataplot-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl>
<dl><dt><a name="Dataplot-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl>
<dl><dt><a name="Dataplot-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="Dataplot-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Dataplot-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl>
<dl><dt><a name="Dataplot-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-clear">clear</a>() -> None. Remove all items from D.</tt></dd></dl>
<dl><dt><a name="Dataplot-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-copy">copy</a>() -> a shallow copy of D</tt></dd></dl>
<dl><dt><a name="Dataplot-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-get">get</a>(k[,d]) -> D[k] if k in D, else d. d defaults to None.</tt></dd></dl>
<dl><dt><a name="Dataplot-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-has_key">has_key</a>(k) -> True if D has a key k, else False</tt></dd></dl>
<dl><dt><a name="Dataplot-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-items">items</a>() -> list of D's (key, value) pairs, as 2-tuples</tt></dd></dl>
<dl><dt><a name="Dataplot-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-iteritems">iteritems</a>() -> an iterator over the (key, value) items of D</tt></dd></dl>
<dl><dt><a name="Dataplot-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-iterkeys">iterkeys</a>() -> an iterator over the keys of D</tt></dd></dl>
<dl><dt><a name="Dataplot-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-itervalues">itervalues</a>() -> an iterator over the values of D</tt></dd></dl>
<dl><dt><a name="Dataplot-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-keys">keys</a>() -> list of D's keys</tt></dd></dl>
<dl><dt><a name="Dataplot-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-pop">pop</a>(k[,d]) -> v, remove specified key and return the corresponding value<br>
If key is not found, d is returned if given, otherwise KeyError is raised</tt></dd></dl>
<dl><dt><a name="Dataplot-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-popitem">popitem</a>() -> (k, v), remove and return some (key, value) pair as a<br>
2-tuple; but raise KeyError if D is empty</tt></dd></dl>
<dl><dt><a name="Dataplot-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-setdefault">setdefault</a>(k[,d]) -> D.<a href="#Dataplot-get">get</a>(k,d), also set D[k]=d if k not in D</tt></dd></dl>
<dl><dt><a name="Dataplot-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-update">update</a>(E, **F) -> None. Update D from E and F: for k in E: D[k] = E[k]<br>
(if E has keys else: for (k, v) in E: D[k] = v) then: for k in F: D[k] = F[k]</tt></dd></dl>
<dl><dt><a name="Dataplot-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#Dataplot-values">values</a>() -> list of D's values</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Dataplot-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>
<dl><dt><strong>fromkeys</strong> = <built-in method fromkeys of type object><dd><tt><a href="__builtin__.html#dict">dict</a>.<a href="#Dataplot-fromkeys">fromkeys</a>(S[,v]) -> New <a href="__builtin__.html#dict">dict</a> with keys from S and values equal to v.<br>
v defaults to None.</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="DataplotImproperlyConfigured">class <strong>DataplotImproperlyConfigured</strong></a>(<a href="dataplot.html#PlotError">dataplot.PlotError</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.plotmodels.html#DataplotImproperlyConfigured">DataplotImproperlyConfigured</a></dd>
<dd><a href="dataplot.html#PlotError">dataplot.PlotError</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="DataplotImproperlyConfigured-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>
<dl><dt><a name="DataplotImproperlyConfigured-__init__"><strong>__init__</strong></a>(...)</dt></dl>
<dl><dt><a name="DataplotImproperlyConfigured-__str__"><strong>__str__</strong></a>(...)</dt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Model">class <strong>Model</strong></a>(<a href="django.db.models.base.html#Model">django.db.models.base.Model</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Enables figure autosave with Django-dataplot.<br>
<br>
All attributes of this model which are instances of<br>
dataplot.GenericPlot will be resaved.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.plotmodels.html#Model">Model</a></dd>
<dd><a href="django.db.models.base.html#Model">django.db.models.base.Model</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Model-__init__"><strong>__init__</strong></a>(self, *args, **kwargs)</dt></dl>
<dl><dt><a name="Model-make_model_plots"><strong>make_model_plots</strong></a>(self, force<font color="#909090">=True</font>)</dt><dd><tt>Try to remake plots related to this model.</tt></dd></dl>
<dl><dt><a name="Model-save"><strong>save</strong></a>(self)</dt><dd><tt>Save method which allows for maximum configurability.<br>
<br>
On a model with no custom save method, we will call django's<br>
save first, then try to make plots for this object.<br>
<br>
On a model with a custom save method, you should call<br>
make_plots and <a href="#Model">Model</a>.save yourself, depending on when it is<br>
appropriate in terms of your data processing.</tt></dd></dl>
<dl><dt><a name="Model-save_plots"><strong>save_plots</strong></a>(self)</dt></dl>
<hr>
Class methods defined here:<br>
<dl><dt><a name="Model-make_manager_plots"><strong>make_manager_plots</strong></a>(cls, force<font color="#909090">=True</font>)<font color="#909090"><font face="helvetica, arial"> from <a href="dataplot.plotmodels.html#ModelBase">ModelBase</a></font></font></dt><dd><tt>Try to remake plots related to this model's manager.</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>AddManipulator</strong> = <class 'django.db.models.manipulators.AddManipulator'></dl>
<dl><dt><strong>ChangeManipulator</strong> = <class 'django.db.models.manipulators.ChangeManipulator'></dl>
<dl><dt><strong>DoesNotExist</strong> = <class django.db.models.base.DoesNotExist></dl>
<dl><dt><strong>MultipleObjectsReturned</strong> = <class django.db.models.base.MultipleObjectsReturned></dl>
<dl><dt><strong>__metaclass__</strong> = <class 'dataplot.plotmodels.ModelBase'><dd><tt>Extend <a href="#ModelBase">ModelBase</a> to initialize dataplots.</tt></dl>
<dl><dt><strong>objects</strong> = <django.db.models.manager.Manager object></dl>
<hr>
Methods inherited from <a href="django.db.models.base.html#Model">django.db.models.base.Model</a>:<br>
<dl><dt><a name="Model-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Model-__hash__"><strong>__hash__</strong></a>(self)</dt></dl>
<dl><dt><a name="Model-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl>
<dl><dt><a name="Model-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
<dl><dt><a name="Model-__str__"><strong>__str__</strong></a>(self)</dt></dl>
<dl><dt><a name="Model-delete"><strong>delete</strong></a>(self)</dt></dl>
<dl><dt><a name="Model-validate"><strong>validate</strong></a>(self)</dt><dd><tt>First coerces all fields on this instance to their proper Python types.<br>
Then runs validation on every field. Returns a dictionary of<br>
field_name -> error_list.</tt></dd></dl>
<hr>
Properties inherited from <a href="django.db.models.base.html#Model">django.db.models.base.Model</a>:<br>
<dl><dt><strong>pk</strong></dt>
<dd><dl><dt><a name="-<em>get</em>"><strong><em>get</em></strong></a> = _get_pk_val(self)</dt></dl>
</dd>
<dd><dl><dt><a name="-<em>set</em>"><strong><em>set</em></strong></a> = _set_pk_val(self, value)</dt></dl>
</dd>
</dl>
<hr>
Data and other attributes inherited from <a href="django.db.models.base.html#Model">django.db.models.base.Model</a>:<br>
<dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl>
<dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'Model' objects><dd><tt>list of weak references to the object (if defined)</tt></dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="ModelBase">class <strong>ModelBase</strong></a>(<a href="django.db.models.base.html#ModelBase">django.db.models.base.ModelBase</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Extend <a href="#ModelBase">ModelBase</a> to initialize dataplots.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="dataplot.plotmodels.html#ModelBase">ModelBase</a></dd>
<dd><a href="django.db.models.base.html#ModelBase">django.db.models.base.ModelBase</a></dd>
<dd><a href="__builtin__.html#type">__builtin__.type</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ModelBase-__init__"><strong>__init__</strong></a>(self, *posargs, **kwargs)</dt><dd><tt>automatic dataplot construction based on DATAPLOTS syntax</tt></dd></dl>
<hr>
Methods inherited from <a href="django.db.models.base.html#ModelBase">django.db.models.base.ModelBase</a>:<br>
<dl><dt><a name="ModelBase-add_to_class"><strong>add_to_class</strong></a>(cls, name, value)</dt></dl>
<hr>
Static methods inherited from <a href="django.db.models.base.html#ModelBase">django.db.models.base.ModelBase</a>:<br>
<dl><dt><a name="ModelBase-__new__"><strong>__new__</strong></a>(cls, name, bases, attrs)</dt></dl>
<hr>
Methods inherited from <a href="__builtin__.html#type">__builtin__.type</a>:<br>
<dl><dt><a name="ModelBase-__call__"><strong>__call__</strong></a>(...)</dt><dd><tt>x.<a href="#ModelBase-__call__">__call__</a>(...) <==> x(...)</tt></dd></dl>
<dl><dt><a name="ModelBase-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#ModelBase-__cmp__">__cmp__</a>(y) <==> cmp(x,y)</tt></dd></dl>
<dl><dt><a name="ModelBase-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ModelBase-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl>
<dl><dt><a name="ModelBase-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ModelBase-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl>
<dl><dt><a name="ModelBase-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#ModelBase-__hash__">__hash__</a>() <==> hash(x)</tt></dd></dl>
<dl><dt><a name="ModelBase-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#ModelBase-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl>
<dl><dt><a name="ModelBase-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ModelBase-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl>
<dl><dt><a name="ModelBase-__subclasses__"><strong>__subclasses__</strong></a>(...)</dt><dd><tt><a href="#ModelBase-__subclasses__">__subclasses__</a>() -> list of immediate subclasses</tt></dd></dl>
<dl><dt><a name="ModelBase-mro"><strong>mro</strong></a>(...)</dt><dd><tt><a href="#ModelBase-mro">mro</a>() -> list<br>
return a type's method resolution order</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="__builtin__.html#type">__builtin__.type</a>:<br>
<dl><dt><strong>__base__</strong> = <class 'django.db.models.base.ModelBase'></dl>
<dl><dt><strong>__bases__</strong> = (<class 'django.db.models.base.ModelBase'>,)</dl>
<dl><dt><strong>__basicsize__</strong> = 420</dl>
<dl><dt><strong>__dict__</strong> = <dictproxy object></dl>
<dl><dt><strong>__dictoffset__</strong> = 132</dl>
<dl><dt><strong>__flags__</strong> = 22523</dl>
<dl><dt><strong>__itemsize__</strong> = 20</dl>
<dl><dt><strong>__mro__</strong> = (<class 'dataplot.plotmodels.ModelBase'>, <class 'django.db.models.base.ModelBase'>, <type 'type'>, <type 'object'>)</dl>
<dl><dt><strong>__weakrefoffset__</strong> = 184</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt><a name="-call_if_possible"><strong>call_if_possible</strong></a>(i)</dt></dl>
<dl><dt><a name="-get_plot_args"><strong>get_plot_args</strong></a>(self, kwargs)</dt><dd><tt>To be curried and used as a method for plotting.</tt></dd></dl>
<dl><dt><a name="-make_plots"><strong>make_plots</strong></a>(x, force)</dt><dd><tt>Look for dataplots in attributes, and remake them.</tt></dd></dl>
<dl><dt><a name="-tee"><strong>tee</strong></a>(...)</dt><dd><tt><a href="#-tee">tee</a>(iterable, n=2) --> tuple of n independent iterators.</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>ADD</strong> = 1<br>
<strong>BLANK_CHOICE_DASH</strong> = [('', '---------')]<br>
<strong>BLANK_CHOICE_NONE</strong> = [('', 'None')]<br>
<strong>BOTH</strong> = 3<br>
<strong>CHANGE</strong> = 2<br>
<strong>HORIZONTAL</strong> = 1<br>
<strong>STACKED</strong> = 2<br>
<strong>TABULAR</strong> = 1<br>
<strong>UNSAFE_FILE_CHARS</strong> = <_sre.SRE_Pattern object><br>
<strong>VERTICAL</strong> = 2<br>
<strong>connection</strong> = <django.db.backends.postgresql.base.DatabaseWrapper object><br>
<strong>settings</strong> = <django.conf.LazySettings object></td></tr></table>
</body></html>