Files
old-parkingkoncept/parkingkonceptvenv/lib/python3.7/site-packages/matplotlib/__pycache__/pyplot.cpython-37.pyc

1805 lines
94 KiB
Plaintext
Raw Normal View History

2019-11-17 12:44:16 +01:00
B
U<>]<15><00>@s.dZddlZddlZddlZddlZddlmZddlZddlZddl Z ddl
m
Z
ddl Z ddl Z ddl Z ddl mZmZddl mZmZddl mZddlmZmZmZmZdd l mZdd
lmZdd lmZmZdd lmZdd l m Z m!Z!m"Z"m#Z#ddl m$Z$ddl%m&Z'ddl(m)Z)m*Z*m+Z+ddl(m,Z-ddl.m/Z/m0Z0ddl1m2Z2ddl m3Z3ddl4m5Z5m6Z6ddl m7Z7ddl8m9Z9m:Z:ddl;Z<ddl=m>Z>ddl?m@Z@ddlAmBZBmCZCddlDmEZEmFZFmGZGmHZHddlImJZJmKZKmLZLmMZMddlNmOZOmPZPmQZQmRZRmSZSmTZTmUZUmVZVmWZWmXZXmYZYmZZZm[Z[m\Z\m]Z]m^Z^m_Z_m`Z`maZaddlbmcZcmdZde<04>eef<65>Zgdahd aid!d"<22>Zjd#d$<24>ZkejljmZme<01>ne jo<6A>d%d&<26><00>Zoe<18>pe+jq<6A><01>d<>d(d)<29><01>Zqd*d+<2B>Zrd,d-<2D>Zsd.d/<2F>Ztd0d1<64>Zud2d3<64>Zvd4d5<64>Zwe<18>pe jx<6A>d6d7<64><00>Zxe<18>pe j$<24><01>d<>d8d9<64><01>Z$e<18>pe jy<6A>d:d;<3B><00>Zyd<d=<3D>Zze<18>pe-<2D>d>d?<3F><00>Z,<2C>d<>dBdC<64>Z{dddddd'ed fdDdE<64>Z|dFdG<64>Z}dHdI<64>Z~dJdK<64>ZdLdM<64>Z<>dNdO<64>Z<>dPdQ<64>Z<>e<18>pej<><6A>dRdS<64><00>Z<>e<18>pej<><6A>dTdU<64><00>Z<><5A>d<>dVdW<64>Z<>dXdY<64>Z<>dZd[<5B>Z<>e<18>pej<><6A>d\d]<5D><00>Z<>e<18>pej<><6A>d^d_<64><00>Z<>e<18>pej<><6A>d`da<64><00>Z<>e<18>pej<><6A>dbdc<64><00>Z<>e<18>pej<><6A>ddde<64><00>Z<>e<18>pej<><6A>dfdg<64><00>Z<>dhdi<64>Z<>ej<>j<00>rbej<>j<00><>djdk<64>e<>_ej<><6A>d<>dldm<64><01>Z<><5A>d<>dndo<64>Z<>dpdq<64>Z<>drds<64>Z<>ej<>dtdu<64><00>Z<><5A>d<>dvdw<64>Z<><5A>d<>dxdy<64>Z<><5A>d<>dzd{<7B>Z<><5A>d<>d|d}<7D>Z<><5A>d<>d~d<64>Z<><5A>d<>d<EFBFBD>d<EFBFBD><64>Z<><5A>d<>d<EFBFBD>d<EFBFBD><64>Z<><5A>d<>d<EFBFBD>d<EFBFBD><64>Z<>d<EFBFBD>d<EFBFBD><64>Z<>d<EFBFBD>d<EFBFBD><64>Z<><5A>d<>d<EFBFBD>d<EFBFBD><64>Z<><5A>d<>d<EFBFBD>d<EFBFBD><64>Z<>d<EFBFBD>d<EFBFBD><64>Z<>d<EFBFBD>d<EFBFBD><64>Z<>d<EFBFBD>d<EFBFBD><64>Z<>d<EFBFBD>d<EFBFBD><64>Z<>d<EFBFBD>d<EFBFBD><64>Z<>d<EFBFBD>d<EFBFBD><64>Z<><5A>d<>d<EFBFBD>d<EFBFBD><64>Z<>e j<>j<EFBFBD>e<EFBFBD>_<00>d<>d<EFBFBD>d<EFBFBD><64>Z<>d<EFBFBD>d<EFBFBD><64>Z<>e<18>pe j<>j<EFBFBD><6A><01>d<>d<EFBFBD>d<EFBFBD><64><01>Z<>e<18>pe j<>j<EFBFBD><6A>d<>d<EFBFBD><64><00>Z<><5A>d<>d<EFBFBD>d<EFBFBD><64>Z<>d<EFBFBD>d<EFBFBD><64>Z<><5A>d<>d<EFBFBD>d<EFBFBD><64>Z<>e d<><00>re<><65><EFBFBD>e d<><64>e'k<06>red<65><00>re<><65><EFBFBD>e d<>ej<><6A>ere d<><00>ej<65>e<18>pe/j<><6A>dd<><64>d<>d<EFBFBD><64><02>Z<>e<18>pe/j<><6A><01>d<>dd<><64>d<>d<EFBFBD><64><03>Z<>e<18>pe/j<><6A>d<>d<EFBFBD><64><00>Z<>e<18>pe/j<><6A>d<>d<EFBFBD><64><00>Z<>e<18>pe/j<><6A><01>d<>d<EFBFBD>d<EFBFBD><64><01>Z<>e<18>pe/j<><6A><01>d<>d<EFBFBD>d<EFBFBD><64><01>Z<>e<18>pe/j<><6A><01>d<>d<EFBFBD>d<EFBFBD><64><01>Z<>e<18>pe/j<><6A>d<>d„<00>Z<>e<18>pe/j¡<01>d<>d<EFBFBD><01>Z<>e<18>pe/já<01>d<>d<EFBFBD>dƄ<01>Z<>e<18>pe/jġ<01>d<>d<EFBFBD>dd<>d˄<03>Z<>e<18>pe/jšdd<><64>d<><02>Z<>e<18>pe/jơ<01>d<>d<EFBFBD>dΜd<><03>Z<>e<18>pe/jǡ<01>d<>dd<><64>d<><03>Z<>e<18>pe/jȡdd<><64>d<><02>Z<>e<18>pe/jɡd<>dք<00>Z<>e<18>pe/jʡd<><00>Z<>e<18>pe/jˡd<>dAde3j<33>e3j<33>ddd<>df dd<><64>d<>d܄<03>Z<>e<18>pe/jΡdd<><64>d<><02>Z<>e<18>pe/jϡdd<><64>d<>d<EFBFBD><64><02>Z<>e<18>pe/jС<01>d<>dd<><64>d<>d<EFBFBD><64><03>Z<>e<18>pe/jѡ<01>d<>dd<><64>d<>d<EFBFBD><64><03>Z<>e<18>pe/jҡ<01>d<>dd<><64>d<>d<EFBFBD><64><03>Z<>e<18>pe/jӡdd<><64>d<>d<EFBFBD><64><02>Z<>e<18>pe/jԡ<01>d<>dd<><64>d<>d<EFBFBD><64><03>Z<>e<18>pe/jա<01>d<>dd<><64>d<>d<EFBFBD><64><03>Z<>e<18>pe/j֡<01>d<>d<EFBFBD>d<EFBFBD><64><01>Z<>e<18>pe/jסdd@dd<>d<EFBFBD>dddddddd<>e<j<>dd fdd<><64>d<>d<EFBFBD><64><03>Z<>e<18>pe/j١<01>d<>dd<><64>d<>d<EFBFBD><64><03>Z<>e<18>pe/jڡ<01>d<>dd<><64>d<>d<EFBFBD><64><03>Z<>e<18>pe/jۡ<01>d<>dd<><64>d<><64>d<00><03>Z<>e<18>pe/jܡdddddddddej<>j<EFBFBD>d<1D>dej<>j<EFBFBD>ddfdd<><64><01>d<02>d<03><03>Z<>e<18>pe/j<><6A><01>d<04>d<05><00>Z<>e<18>pe/jߡ<01>d<><64>d<06>d<07><01>Z<>e<18>pe/j<><6A><01>d<08>d <09><00>Z<>e<18>pe/j<><6A><01>d<>dd<><64><01>d
<EFBFBD>d <0B><03>Z<>e<18>pe/j<><6A>ddd'<27>d <0C><03>d <0A>d<0E><02>Z<>e<18>pe/j<><6A><01>d<0F>d<10><00>Z<>e<18>pe/j<><6A><01>d<11>d<12><00>Z<>e<18>pe/j<><6A>dddddd<02>d<13><06>d<14>d<15><02>Z<>e<18>pe/j<><6A>ddddd<02>dd d<02>d<17><08>d<18>d<19><02>Z<>e<18>pe/j<><6A><01>d<>dd<><64><01>d<1A>d<1B><03>Z<>e<18>pe/j<><6A><01>d<>dd<><64><01>d<1F>d <20><03>Z<>e<18>pe/j<><6A>d'd'd<02>d!<21><03>d"<22>d#<23><02>Z<>e<18>pe/j<><6A><01>d<>dd<><64><01>d%<25>d&<26><03>Z<>e<18>pe/j<><6A><01>d<>dd<><64><01>d'<27>d(<28><03>Z<>e<18>pe/j<><6A>dd<><64><01>d)<29>d*<2A><02>Z<>e<18>pe/j<><6A><01>d+<2B>d,<2C><00>Z<>e<18>pe/j<><6A><01>d<>d d<02>d-<2D><02>d.<2E>d/<2F><03>Z<>e<18>pe/j<><6A><01>d0<64>d1<64><00>Z<>e<18>pe/j<><6A><01>d2<64>d3<64><00>Z<>e<18>pe/j<><6A><01>d<>dd<><64><01>d4<64>d5<64><03>Z<>e<18>pe/j<><6A><01>d8<64>d9<64><01>Z<>e<18>pe/j<><6A><01>d:d<02>d;d<02>d<<3C><04>d=<3D>d><3E><02>Z<>e<18>pe/j<><6A>dddddd d<02>d?<3F><07>d@<40>dA<64><02>Z<>e<18>pe/j<><6A><01>dBd<02>dC<64><02>dD<64>dE<64><02>Z<>e<18>pe/j<><6A><01>d<>dd<><64><01>dH<64>dI<64><03>Z<>e<18>pe/j<><6A><01>dːdN<64>dO<64><01>Z<>e<18>pe/j<><6A>dej<>j<EFBFBD>f<02>dP<64>dQ<64><01>Z<>e<18>pe/j<><6A><01>dR<64>dS<64><01>Z<>e<18>pe/j<><6A>d<>d<EFBFBD>dddd<02>dT<64><06>dU<64>dV<64><02>Z<>e<18>pe/j<><6A><01>dW<64>dX<64><00>Z<>e<18>pe/j<><6A><01>dY<64>dZ<64><00>Z<>e<18>pe/j<><6A><01>d[dddd<02>dd<02>d\<5C><07>d]<5D>d^<5E><02>Z<>e<18>pe/j<><6A><01>d_<64>d`<60><00>Z<>e<18>pe/j<><6A><01>d<>dd<><64><01>db<64>dc<64><03>Z<>e<18>pe/j<><6A><01>d<>dd<><64><01>dd<64>de<64><03>Z<>e<18>pe/<2F>j<00>d'e3j<33>d'd<>fdd<><64><01>df<64>dg<64><03><01>Ze<18>pe/<2F>j<01><01>dh<64>di<64><00><01>Ze<18>pe/<2F>j<03><01>dj<64>dk<64><01><01>Ze<18>pe/<2F>j<05><01>dАdl<64>dm<64><01><01>Ze<18>pe/<2F>j<07><01>dn<64>do<64><01><01>Ze<18>pe/<2F>j <09><01>dp<64>dq<64><00><01>Z
e<18>pe/<2F>j <0B><01>dr<64>ds<64><00><01>Z <0C>dt<64>du<64><00>Z <0A>dv<64>dw<64><00>Z<0E>dx<64>dy<64><00>Z<0F>dz<64>d{<7B><00>Z<10>d|<7C>d}<7D><00>Z<11>d~<7E>d<64><00>Z<12>d<><64>d<><64><00>Z<13>d<><64>d<><64><00>Z<14>d<><64>d<><64><00>Z<15>d<><64>d<><64><00>Z<16>d<><64>d<><64><00>Z<17>d<><64>d<><64><00>Z<18>d<><64>d<><64><00>Z<19>d<><64>d<><64><00>Z<1A>d<><64>d<><64><00>Z<1B>d<><64>d<><64><00>Z<1C>d<><64>d<><64><00>Z<1D>d<><64>d<><64><00>Z<1E>d<><64>d<><64><00>Ze<><65>dS(<28>a<>
`matplotlib.pyplot` is a state-based interface to matplotlib. It provides
a MATLAB-like way of plotting.
pyplot is mainly intended for interactive plots and simple cases of
programmatic plot generation::
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(0, 5, 0.1)
y = np.sin(x)
plt.plot(x, y)
The object-oriented API is recommended for more complex plots.
<EFBFBD>N)<01>Number)<01>cycler)<02>rcsetup<75>style)<02>_pylab_helpers<72> interactive)<01>cbook)<04>dedent<6E>
deprecated<EFBFBD> silent_list<73>warn_deprecated)<01> docstring)<01>FigureCanvasBase)<02>Figure<72> figaspect)<01>GridSpec)<04>rcParams<6D>rcParamsDefault<6C> get_backend<6E> rcParamsOrig)<01>
rc_context)<01>interactive_bk)<03>getp<74>get<65>Artist)<01>setp)<02>Axes<65>Subplot)<01> PolarAxes)<01>mlab)<02>get_scale_docs<63>get_scale_names)<01>cm)<02>get_cmap<61> register_cmap)<01> Normalize)<01>Line2D)<02>Text<78>
Annotation)<04>Polygon<6F> Rectangle<6C>Circle<6C>Arrow)<04> SubplotTool<6F>Button<6F>Slider<65>Widget<65>)<13>
TickHelper<EFBFBD> Formatter<65>FixedFormatter<65> NullFormatter<65> FuncFormatter<65>FormatStrFormatter<65>ScalarFormatter<65> LogFormatter<65>LogFormatterExponent<6E>LogFormatterMathtext<78>Locator<6F> IndexLocator<6F> FixedLocator<6F> NullLocator<6F> LinearLocator<6F>
LogLocator<EFBFBD> AutoLocator<6F>MultipleLocator<6F> MaxNLocator)<02> pylab_setup<75>"_get_running_interactive_frameworkFc Cs<>Gdd<02>dt<00>}y<>dtjkr<>ddlm}|<01>}|dkr<|<00><00>trDdSdd<08>}y|j<06>d |<03>Wntk
r||<02> |<03>YnX|ad
a
dd l m }|<04> t<0E><00>}|r<>|<02>|<05>nd a
Wnt|fk
r<EFBFBD>d a
YnXdS) z<>
Install a repl display hook so that any stale figure are automatically
redrawn when control is returned to the repl.
This works both with IPython and with vanilla python shells.
c@s eZdZdS)z-install_repl_displayhook.<locals>._NotIPythonN)<03>__name__<5F>
__module__<EFBFBD> __qualname__<5F>rJrJ<00>9/tmp/pip-install-i8dhxrtk/matplotlib/matplotlib/pyplot.py<70> _NotIPython\srL<00>IPythonr)<01> get_ipythonNcSst<00><01>rt<02>dS)N)<03>
matplotlib<EFBFBD>is_interactive<76>draw_allrJrJrJrK<00> post_executeksz.install_repl_displayhook.<locals>.post_executerRF)<01> backend2guiT)<11> Exception<6F>sys<79>modulesrMrN<00>_IP_REGISTERED<45>events<74>register<65>AttributeErrorZregister_post_execute<74>_INSTALL_FIG_OBSERVERZIPython.core.pylabtoolsrSrrZ
enable_gui<EFBFBD> ImportError)rLrN<00>iprRrSZipython_gui_namerJrJrK<00>install_repl_displayhookRs.

    r^cCsVtrJddlm}|<00>}y|j<03>dt<00>Wntk
rDtd<04><01>YnXdatrRdadS)a<>
Uninstall the matplotlib display hook.
.. warning
Need IPython >= 2 for this to work. For IPython < 2 will raise a
``NotImplementedError``
.. warning
If you are using vanilla python and have installed another
display hook this will reset ``sys.displayhook`` to what ever
function was there when matplotlib installed it's displayhook,
possibly discarding your changes.
r)rNrRz*Can not unregister events in IPython < 2.0NF)rWrMrNrX<00>
unregisterrZ<00>NotImplementedErrorr[)rNr]rJrJrK<00>uninstall_repl_displayhook<6F>s racOs tj||<01>S)N)rO<00> set_loglevel)<02>args<67>kwargsrJrJrKrb<00>srbTcCs|dkrt<00>}|j||d<01>S)N)<01> include_self)<02>gcf<63>findobj)<03>o<>matchrerJrJrKrg<00>srgc Cs$td<01>|tjkrdxPdD]4}y t|<01>Wntk
r>wYqX|td<dSqWtd<05>dtd<dS|<00>d<06>rz|dd<04>n d<08>|<00><08><00>}t <09>
|<02>}t d t j jft|<03><01>}t<10>d
||j<12>|j}|dk r<>t j <0A><14>}|r<>|r<>||kr<>td <0B>|||<06><03><01>|td<td<|a|ja|ja|ja|t j _dS) a<>
Close all open figures and set the Matplotlib backend.
The argument is case-insensitive. Switching to an interactive backend is
possible only if no event loop for another interactive backend has started.
Switching to and from non-interactive backends is always possible.
Parameters
----------
newbackend : str
The name of the backend to use.
<20>all)<06>macosxZqt5aggZqt4aggZgtk3aggZtkaggZwxagg<67>backendNZaggz module://<2F> zmatplotlib.backends.backend_{}<7D>BackendzLoaded backend %s version %s.zdCannot load backend {!r} which requires the {!r} interactive framework, as {!r} is currently running)<1D>closer<00>_auto_backend_sentinel<65>switch_backendr\r<00>
startswith<EFBFBD>format<61>lower<65> importlib<69> import_module<6C>typerO<00>backendsZ_Backend<6E>vars<72>_log<6F>debugZbackend_versionZrequired_interactive_frameworkrFrrZ _backend_mod<6F>new_figure_manager<65>draw_if_interactive<76>show<6F>_showrl)Z
newbackend<EFBFBD> candidate<74> backend_nameZ backend_modrnZrequired_frameworkZcurrent_frameworkrJrJrKrq<00>sB 

 


 rqcOs
t||<01>S)aM
Display a figure.
When running in ipython with its pylab mode, display all
figures and return to the ipython prompt.
In non-interactive mode, display all figures and block until
the figures have been closed; in interactive mode it has no
effect unless figures were created prior to a change from
non-interactive to interactive mode (not recommended). In
that case it displays the figures but does not block.
A single experimental keyword argument, *block*, may be
set to True or False to override the blocking behavior
described above.
)r)rc<00>kwrJrJrKr~<00>sr~cCst<00><01>S)z&Return the status of interactive mode.)rOrPrJrJrJrK<00> isinteractivesr<>cCst<00>d<01>t<02>dS)zTurn the interactive mode off.FN)rOrrarJrJrJrK<00>ioffs
r<>cCst<00>d<01>t<02>dS)zTurn the interactive mode on.TN)rOrr^rJrJrJrK<00>ions
r<>cCsLtj<01><02>}|dk r>|j}|jjr(|<02><06>tdd<03>|<02>|<00>n
t <09>
|<00>dS)a<>
Pause for *interval* seconds.
If there is an active figure, it will be updated and displayed before the
pause, and the GUI event loop (if any) will run during the pause.
This can be used for crude animation. For more complex animation, see
:mod:`matplotlib.animation`.
Notes
-----
This function is experimental; its behavior may be changed or extended in a
future release.
NF)<01>block) r<00>Gcf<63>
get_active<EFBFBD>canvas<61>figure<72>stale<6C> draw_idler~Zstart_event_loop<6F>time<6D>sleep)<03>interval<61>managerr<72>rJrJrK<00>pause!s

 r<>cKstj|f|<01>dS)N)rO<00>rc)<02>grouprdrJrJrKr<>;sr<>cCs t<00>||<01>S)N)rOr)r<><00>fnamerJrJrKr@srcCst<00><01>t<00><02>rt<03>dS)N)rO<00>
rcdefaultsrPrQrJrJrJrKr<>Esr<>cCs
t<00><00><01>S)a&
Get the current colorable artist. Specifically, returns the
current :class:`~matplotlib.cm.ScalarMappable` instance (image or
patch collection), or *None* if no images or patch collections
have been defined. The commands :func:`~matplotlib.pyplot.imshow`
and :func:`~matplotlib.pyplot.figimage` create
:class:`~matplotlib.image.Image` instances, and the commands
:func:`~matplotlib.pyplot.pcolor` and
:func:`~matplotlib.pyplot.scatter` create
:class:`~matplotlib.collections.Collection` instances. The
current image is an attribute of the current axes, or the nearest
earlier axes in the current figure that contains an image.
Notes
-----
Historically, the only colorable artists were images; hence the name
``gci`` (get current image).
)rfZ_gcirJrJrJrK<00>gciOsr<>cOst|f|<01>|<02>S)N)<01>_setp)<03>objrcrdrJrJrKrisr<00>d<00>cCs^tdrtd<02><01>ddlm}tddddgd |||f|jd
d d <0C>gd ddddddddddd<15><0F>S)a<>
Turn on `xkcd <https://xkcd.com/>`_ sketch-style drawing mode.
This will only have effect on things drawn after this function is
called.
For best results, the "Humor Sans" font should be installed: it is
not included with matplotlib.
Parameters
----------
scale : float, optional
The amplitude of the wiggle perpendicular to the source line.
length : float, optional
The length of the wiggle along the line.
randomness : float, optional
The scale factor by which the length is shrunken or expanded.
Notes
-----
This function works by a number of rcParams, so it will probably
override others you have set before.
If you want the effects of this function to be temporary, it can
be used as a context manager, for example::
with plt.xkcd():
# This figure will be in XKCD-style
fig1 = plt.figure()
# ...
# This figure will be in regular style
fig2 = plt.figure()
z text.usetexz3xkcd mode is not compatible with text.usetex = Truer)<01> patheffects<74>xkcdz xkcd Scriptz
Humor Sansz Comic Sans MSg,@<40><00>w)<02> linewidthZ
foregroundg<00>?g@ZwhitegFZblack<63><00>)z font.familyz font.sizez path.sketchz path.effectszaxes.linewidthzlines.linewidthzfigure.facecolorzgrid.linewidthz axes.gridzaxes.unicode_minuszaxes.edgecolorzxtick.major.sizezxtick.major.widthzytick.major.sizezytick.major.width)r<00> RuntimeErrorrOr<>rZ
withStroke)<04>scale<6C>lengthZ
randomnessr<EFBFBD>rJrJrKr<>ns(" 
r<>c s<>|dkrtd}|dkr td}|dkr0td}|dkr@td}t<01>} | rVt| <09>dnd}
d} |dkrl|
}nPt|t<04>r<>|} t<05>} | | kr<>| dkr<>t<06>d <09>|
}q<>| <0C>| <0B>} | | }nt |<00>}t
j <0B> |<00><01><00>dk<08>r<>td
}t | <09>|kr<>dk<05>rnnt<06>d |t<0E>t<0F><00><10>d k<02>rd }t|f||||||d<0E>|<08><02><01>| <0B>rX<72><00>| <0B><00>jj<14>| <0B><00>fdd<10>}<0F>j<13>d|<0F>}|<10>_t
j <0B><18><00><00>jj}||_t<1A><1B><00>r<>t<1C>t<1D>r<>t|_|<07>r<><72>jj<14> <20><00>jjS)a8
Create a new figure.
Parameters
----------
num : integer or string, optional, default: None
If not provided, a new figure will be created, and the figure number
will be incremented. The figure objects holds this number in a `number`
attribute.
If num is provided, and a figure with this id already exists, make
it active, and returns a reference to it. If this figure does not
exists, create it and returns it.
If num is a string, the window title will be set to this figure's
`num`.
figsize : (float, float), optional, default: None
width, height in inches. If not provided, defaults to
:rc:`figure.figsize` = ``[6.4, 4.8]``.
dpi : integer, optional, default: None
resolution of the figure. If not provided, defaults to
:rc:`figure.dpi` = ``100``.
facecolor : color spec
the background color. If not provided, defaults to
:rc:`figure.facecolor` = ``'w'``.
edgecolor : color spec
the border color. If not provided, defaults to
:rc:`figure.edgecolor` = ``'w'``.
frameon : bool, optional, default: True
If False, suppress drawing the figure frame.
FigureClass : subclass of `~matplotlib.figure.Figure`
Optionally use a custom `.Figure` instance.
clear : bool, optional, default: False
If True and the figure already exists, then it is cleared.
Returns
-------
figure : `~matplotlib.figure.Figure`
The `.Figure` instance returned will also be passed to
new_figure_manager in the backends, which allows to hook custom
`.Figure` classes into the pyplot interface. Additional kwargs will be
passed to the `.Figure` init function.
Notes
-----
If you are creating many figures, make sure you explicitly call
:func:`.pyplot.close` on the figures you are not using, because this will
enable pyplot to properly clean up the memory.
`~matplotlib.rcParams` defines the default values, which can be modified
in the matplotlibrc file.
Nzfigure.figsizez
figure.dpizfigure.facecolorzfigure.edgecolorr1<00>rjz(close('all') closes all existing figureszfigure.max_open_warningz<67>More than %d figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).Zps<70>H)<06>figsize<7A>dpi<70> facecolor<6F> edgecolor<6F>frameon<6F> FigureClasscstj<01><02><00>dS)N)rr<><00>
set_active)<01>event)<01>
figManagerrJrK<00> make_active(szfigure.<locals>.make_activeZbutton_press_event)!r<00> get_fignums<6D>max<61>
isinstance<EFBFBD>str<74> get_figlabelsr<00>_warn_external<61>index<65>intrr<>Zget_fig_manager<65>len<65>RuntimeWarningrrtr|Zset_window_titler<65>r<>Z set_label<65> mpl_connectZ_cidgcfr<66><00>numberrOrPr}r[<00>_auto_draw_if_interactiveZstale_callback<63>clear)<12>numr<6D>r<>r<>r<>r<>r<>r<>rdZallnumsZnext_numZfigLabel<65> allLabelsZinumZmax_open_warningr<67><00>cid<69>figrJ)r<>rKr<><00>spD


 


  
 r<>cCs$|r t<00><01>r |j<02><03>s |j<02><04>dS)z<>
This is an internal helper function for making sure that auto-redrawing
works as intended in the plain python repl.
Parameters
----------
fig : Figure
A figure object which is assumed to be associated with a canvas
N)rOrPr<>Z is_savingr<67>)r<><00>valrJrJrKr<>Bs
r<>cCs$tj<01><02>}|dk r|jjSt<04>SdS)zw
Get the current figure.
If no current figure exists, a new one is created using
`~.pyplot.figure()`.
N)rr<>r<>r<>r<>)r<>rJrJrKrfPs
rfcCstj<01>|<00>p|t<03>kS)z3Return whether the figure with the given id exists.)rr<>Z
has_fignumr<EFBFBD>)r<>rJrJrK<00> fignum_exists^sr<>cCs ttjj<03>S)z)Return a list of existing figure numbers.)<04>sortedrr<>ZfigsrJrJrJrKr<>csr<>cCs(tj<01><02>}|jdd<02>d<03>dd<05>|D<00>S)z(Return a list of existing figure labels.cSs|jS)N)r<>)<01>mrJrJrK<00><lambda>k<00>zget_figlabels.<locals>.<lambda>)<01>keycSsg|]}|jj<01><02><00>qSrJ)r<>r<>Z get_label)<02>.0r<EFBFBD>rJrJrK<00>
<listcomp>lsz!get_figlabels.<locals>.<listcomp>)rr<><00>get_all_fig_managers<72>sort)Z figManagersrJrJrKr<>hs
r<>cCs&tj<01><02>}|dkr"t<03>tj<01><02>}|S)as
Return the figure manager of the current figure.
The figure manager is a container for the actual backend-depended window
that displays the figure on screen.
If if no current figure exists, a new one is created an its figure
manager is returned.
Returns
-------
manager : `.FigureManagerBase` or backend-dependent subclass thereof
N)rr<>r<>rf)r<>rJrJrK<00>get_current_fig_manageros


r<>cCst<00>j<01>||<01>S)N)r<>r<>r<>)<02>s<>funcrJrJrK<00>connect<63>sr<>cCst<00>j<01>|<00>S)N)r<>r<><00>mpl_disconnect)r<>rJrJrK<00>
disconnect<EFBFBD>sr<>cCs<>|dkr.tj<01><02>}|dkrdStj<01>|j<04>n<>|dkrBtj<01><05>n<>t|t<07>rZtj<01>|<00>npt|d<03>rttj<01>|j<07>nVt|t <09>r<>t
<EFBFBD>}||kr<>t <0B>|<02> |<00>}tj<01>|<03>n t|t <0A>r<>tj<01>|<00>ntd<04><01>dS)al
Close a figure window.
Parameters
----------
fig : None or int or str or `.Figure`
The figure to close. There are a number of ways to specify this:
- *None*: the current figure
- `.Figure`: the given `.Figure` instance
- ``int``: a figure number
- ``str``: a figure name
- 'all': all figures
Nrjr<>zFclose() argument must be a Figure, an int, a string, or None, not '%s')rr<>r<><00>destroyr<79>Z destroy_allr<6C>r<><00>hasattrr<72>r<>r<>r<>rZ destroy_fig<69> TypeError)r<>r<>r<>r<>rJrJrKro<00>s&
 



rocCst<00><00><01>dS)zClear the current figure.N)rf<00>clfrJrJrJrKr<><00>sr<>cCst<00>j<01><02>dS)a+Redraw the current figure.
This is used to update a figure that has been altered, but not
automatically re-drawn. If interactive mode is on (:func:`.ion()`), this
should be only rarely needed, but there may be ways to modify the state of
a figure without marking it as `stale`. Please report these cases as
bugs.
A more object-oriented alternative, given any
:class:`~matplotlib.figure.Figure` instance, :attr:`fig`, that
was created using a :mod:`~matplotlib.pyplot` function, is::
fig.canvas.draw_idle()
N)r<>r<>r<>rJrJrJrK<00>draw<61>sr<>cOs t<00>}|j||<01>}|j<02><03>|S)N)rf<00>savefigr<67>r<>)rcrdr<><00>resrJrJrKr<><00>s 
r<>cOst<00>j||<01>S)z<>
Blocking call to interact with the figure.
This will wait for *n* clicks from the user and return a list of the
coordinates of each click.
If *timeout* is negative, does not timeout.
)rf<00>ginput)rcrdrJrJrKr<><00>s
r<EFBFBD>cOst<00>j||<01>S)a
Blocking call to interact with the figure.
This will wait for *n* key or mouse clicks from the user and
return a list containing True's for keyboard clicks and False's
for mouse clicks.
If *timeout* is negative, does not timeout.
)rf<00>waitforbuttonpress)rcrdrJrJrKr<><00>s r<>cOst<00>j|||f|<03>|<04>S)N)rf<00>text)<05>x<>yr<79>rcrdrJrJrK<00>figtext<78>sr<>cKst<00>j|f|<01>S)N)rf<00>suptitle)<02>trdrJrJrKr<><00>sr<>cOst<00>j||<01>S)N)rf<00>figimage)rcrdrJrJrKr<><00>sr<>cOst<00>j||<01>S)N)rf<00>legend)rcrdrJrJrK<00> figlegendsr<>zlegend(z
figlegend(cKs&|dkrtd|<01>St<01>j|f|<01>SdS)a<>
Add an axes to the current figure and make it the current axes.
Call signatures::
plt.axes()
plt.axes(rect, projection=None, polar=False, **kwargs)
plt.axes(ax)
Parameters
----------
arg : { None, 4-tuple, Axes }
The exact behavior of this function depends on the type:
- *None*: A new full window axes is added using
``subplot(111, **kwargs)``
- 4-tuple of floats *rect* = ``[left, bottom, width, height]``.
A new axes is added with dimensions *rect* in normalized
(0, 1) units using `~.Figure.add_axes` on the current figure.
- `~.axes.Axes`: This is equivalent to `.pyplot.sca`.
It sets the current axes to *arg*. Note: This implicitly
changes the current figure to the parent of *arg*.
.. note:: The use of an `.axes.Axes` as an argument is deprecated
and will be removed in v3.0. Please use `.pyplot.sca`
instead.
projection : {None, 'aitoff', 'hammer', 'lambert', 'mollweide', 'polar', 'rectilinear', str}, optional
The projection type of the `~.axes.Axes`. *str* is the name of
a costum projection, see `~matplotlib.projections`. The default
None results in a 'rectilinear' projection.
polar : boolean, optional
If True, equivalent to projection='polar'.
sharex, sharey : `~.axes.Axes`, optional
Share the x or y `~matplotlib.axis` with sharex and/or sharey.
The axis will have the same limits, ticks, and scale as the axis
of the shared axes.
label : str
A label for the returned axes.
Other Parameters
----------------
**kwargs
This method also takes the keyword arguments for
the returned axes class. The keyword arguments for the
rectilinear axes class `~.axes.Axes` can be found in
the following table but there might also be other keyword
arguments if another projection is used, see the actual axes
class.
%(Axes)s
Returns
-------
axes : `~.axes.Axes` (or a subclass of `~.axes.Axes`)
The returned axes class depends on the projection used. It is
`~.axes.Axes` if rectilinear projection are used and
`.projections.polar.PolarAxes` if polar projection
are used.
Notes
-----
If the figure already has a axes with key (*args*,
*kwargs*) then it will simply make that axes current and
return it. This behavior is deprecated. Meanwhile, if you do
not want this behavior (i.e., you want to force the creation of a
new axes), you must use a unique set of args and kwargs. The axes
*label* attribute has been exposed for this purpose: if you want
two axes that are otherwise identical to be added to the figure,
make sure you give them unique labels.
See Also
--------
.Figure.add_axes
.pyplot.subplot
.Figure.add_subplot
.Figure.subplots
.pyplot.subplots
Examples
--------
::
# Creating a new full window axes
plt.axes()
# Creating a new axes with specified dimensions and some kwargs
plt.axes((left, bottom, width, height), facecolor='w')
N<>o)r<>)<03>subplotrf<00>add_axes)<02>argrdrJrJrK<00>axes s`
r<>cCs|dkrt<00>}|j<01>|<00>dS)z<>
Remove the `Axes` *ax* (defaulting to the current axes) from its figure.
A KeyError is raised if the axes doesn't exist.
N)<03>gcar<61><00>delaxes)<01>axrJrJrKr<>rsr<>cCsPtj<01><02>}x8|D]0}||jjjkrtj<01>|<02>|jj<04>|<00>dSqWtd<02><01>dS)zj
Set the current Axes instance to *ax*.
The current Figure is updated to the parent of *ax*.
Nz0Axes instance argument was not found in a figure) rr<>r<>r<>r<>r<>r<><00>sca<63>
ValueError)r<>Zmanagersr<73>rJrJrKr<>}s

 r<>cKst<00>jf|<00>S)a<>
Get the current :class:`~matplotlib.axes.Axes` instance on the
current figure matching the given keyword args, or create one.
Examples
--------
To get the current polar axes on the current figure::
plt.gca(projection='polar')
If the current axes doesn't exist, or isn't a polar one, the appropriate
axes will be created and then returned.
See Also
--------
matplotlib.figure.Figure.gca : The figure's gca method.
)rfr<>)rdrJrJrKr<><00>sr<>cOs<>t|<00>dkrd}t|<00>dkr4t|dt<02>r4t<03>d<05>t<05>}|j||<01>}|j}g}x.|jD]$}||krfqX|<04> |j<07>rX|<05>
|<06>qXWx|D] }t |<07>q<>W|S)an
Add a subplot to the current figure.
Wrapper of `.Figure.add_subplot` with a difference in behavior
explained in the notes section.
Call signatures::
subplot(nrows, ncols, index, **kwargs)
subplot(pos, **kwargs)
subplot(ax)
Parameters
----------
*args
Either a 3-digit integer or three separate integers
describing the position of the subplot. If the three
integers are *nrows*, *ncols*, and *index* in order, the
subplot will take the *index* position on a grid with *nrows*
rows and *ncols* columns. *index* starts at 1 in the upper left
corner and increases to the right.
*pos* is a three digit integer, where the first digit is the
number of rows, the second the number of columns, and the third
the index of the subplot. i.e. fig.add_subplot(235) is the same as
fig.add_subplot(2, 3, 5). Note that all integers must be less than
10 for this form to work.
projection : {None, 'aitoff', 'hammer', 'lambert', 'mollweide', 'polar', 'rectilinear', str}, optional
The projection type of the subplot (`~.axes.Axes`). *str* is the name
of a costum projection, see `~matplotlib.projections`. The default
None results in a 'rectilinear' projection.
polar : boolean, optional
If True, equivalent to projection='polar'.
sharex, sharey : `~.axes.Axes`, optional
Share the x or y `~matplotlib.axis` with sharex and/or sharey. The
axis will have the same limits, ticks, and scale as the axis of the
shared axes.
label : str
A label for the returned axes.
Other Parameters
----------------
**kwargs
This method also takes the keyword arguments for
the returned axes base class. The keyword arguments for the
rectilinear base class `~.axes.Axes` can be found in
the following table but there might also be other keyword
arguments if another projection is used.
%(Axes)s
Returns
-------
axes : an `.axes.SubplotBase` subclass of `~.axes.Axes` (or a subclass of `~.axes.Axes`)
The axes of the subplot. The returned axes base class depends on
the projection used. It is `~.axes.Axes` if rectilinear projection
are used and `.projections.polar.PolarAxes` if polar projection
are used. The returned axes is then a subplot subclass of the
base class.
Notes
-----
Creating a subplot will delete any pre-existing subplot that overlaps
with it beyond sharing a boundary::
import matplotlib.pyplot as plt
# plot a line, implicitly creating a subplot(111)
plt.plot([1,2,3])
# now create a subplot which represents the top plot of a grid
# with 2 rows and 1 column. Since this subplot will overlap the
# first, the plot (and its axes) previously created, will be removed
plt.subplot(211)
If you do not want this behavior, use the `.Figure.add_subplot` method
or the `.pyplot.axes` function instead.
If the figure already has a subplot with key (*args*,
*kwargs*) then it will simply make that subplot current and
return it. This behavior is deprecated. Meanwhile, if you do
not want this behavior (i.e., you want to force the creation of a
new subplot), you must use a unique set of args and kwargs. The axes
*label* attribute has been exposed for this purpose: if you want
two subplots that are otherwise identical to be added to the figure,
make sure you give them unique labels.
In rare circumstances, `.add_subplot` may be called with a single
argument, a subplot axes instance already created in the
present figure but not in the figure's list of axes.
See Also
--------
.Figure.add_subplot
.pyplot.subplots
.pyplot.axes
.Figure.subplots
Examples
--------
::
plt.subplot(221)
# equivalent but more general
ax1=plt.subplot(2, 2, 1)
# add a subplot with no frame
ax2=plt.subplot(222, frameon=False)
# add a polar subplot
plt.subplot(223, projection='polar')
# add a red subplot that shares the x-axis with ax1
plt.subplot(224, sharex=ax1, facecolor='red')
# delete ax2 from the figure
plt.delaxes(ax2)
# add ax2 to the figure again
plt.subplot(ax2)
r)r1r1r1r<>r<>zbThe subplot index argument to subplot() appears to be a boolean. Did you intend to use subplots()?) r<>r<><00>boolrr<>rf<00> add_subplot<6F>bboxr<78><00>fully_overlaps<70>appendr<64>)rcrdr<><00>ar<61><00>byebye<79>otherr<72>rJrJrKr<><00>s" 
   
 r<>c
Ks*tf|<07>}|j|||||||d<01>} || fS)a6
Create a figure and a set of subplots.
This utility wrapper makes it convenient to create common layouts of
subplots, including the enclosing figure object, in a single call.
Parameters
----------
nrows, ncols : int, optional, default: 1
Number of rows/columns of the subplot grid.
sharex, sharey : bool or {'none', 'all', 'row', 'col'}, default: False
Controls sharing of properties among x (`sharex`) or y (`sharey`)
axes:
- True or 'all': x- or y-axis will be shared among all
subplots.
- False or 'none': each subplot x- or y-axis will be
independent.
- 'row': each subplot row will share an x- or y-axis.
- 'col': each subplot column will share an x- or y-axis.
When subplots have a shared x-axis along a column, only the x tick
labels of the bottom subplot are created. Similarly, when subplots
have a shared y-axis along a row, only the y tick labels of the first
column subplot are created. To later turn other subplots' ticklabels
on, use `~matplotlib.axes.Axes.tick_params`.
squeeze : bool, optional, default: True
- If True, extra dimensions are squeezed out from the returned
array of `~matplotlib.axes.Axes`:
- if only one subplot is constructed (nrows=ncols=1), the
resulting single Axes object is returned as a scalar.
- for Nx1 or 1xM subplots, the returned object is a 1D numpy
object array of Axes objects.
- for NxM, subplots with N>1 and M>1 are returned as a 2D array.
- If False, no squeezing at all is done: the returned Axes object is
always a 2D array containing Axes instances, even if it ends up
being 1x1.
num : integer or string, optional, default: None
A `.pyplot.figure` keyword that sets the figure number or label.
subplot_kw : dict, optional
Dict with keywords passed to the
`~matplotlib.figure.Figure.add_subplot` call used to create each
subplot.
gridspec_kw : dict, optional
Dict with keywords passed to the `~matplotlib.gridspec.GridSpec`
constructor used to create the grid the subplots are placed on.
**fig_kw
All additional keyword arguments are passed to the
`.pyplot.figure` call.
Returns
-------
fig : `~.figure.Figure`
ax : `.axes.Axes` object or array of Axes objects.
*ax* can be either a single `~matplotlib.axes.Axes` object or an
array of Axes objects if more than one subplot was created. The
dimensions of the resulting array can be controlled with the squeeze
keyword, see above.
Examples
--------
::
# First create some toy data:
x = np.linspace(0, 2*np.pi, 400)
y = np.sin(x**2)
# Creates just a figure and only one subplot
fig, ax = plt.subplots()
ax.plot(x, y)
ax.set_title('Simple plot')
# Creates two subplots and unpacks the output array immediately
f, (ax1, ax2) = plt.subplots(1, 2, sharey=True)
ax1.plot(x, y)
ax1.set_title('Sharing Y axis')
ax2.scatter(x, y)
# Creates four polar axes, and accesses them through the returned array
fig, axes = plt.subplots(2, 2, subplot_kw=dict(polar=True))
axes[0, 0].plot(x, y)
axes[1, 1].scatter(x, y)
# Share a X axis with each column of subplots
plt.subplots(2, 2, sharex='col')
# Share a Y axis with each row of subplots
plt.subplots(2, 2, sharey='row')
# Share both X and Y axes with all subplots
plt.subplots(2, 2, sharex='all', sharey='all')
# Note that this is the same as
plt.subplots(2, 2, sharex=True, sharey=True)
# Creates figure number 10 with a single subplot
# and clears it if it already exists.
fig, ax=plt.subplots(num=10, clear=True)
See Also
--------
.pyplot.figure
.pyplot.subplot
.pyplot.axes
.Figure.subplots
.Figure.add_subplot
)<07>nrows<77>ncols<6C>sharex<65>sharey<65>squeeze<7A>
subplot_kw<EFBFBD> gridspec_kw)r<><00>subplots)
r<EFBFBD>r<>r<>r<>r<>r<>r<>Zfig_kwr<77>ZaxsrJrJrKr<>Bs
w
 r<>cKs<>|dkrt<00>}|\}}t||<07>j|||d<02>}|j|f|<05>} | j}
g} x.|jD]$} | | krZqL|
<EFBFBD>| j<04>rL| <0B>| <0C>qLWx| D] } t| <0A>qzW| S)a<>
Create an axis at specific location inside a regular grid.
Parameters
----------
shape : sequence of 2 ints
Shape of grid in which to place axis.
First entry is number of rows, second entry is number of columns.
loc : sequence of 2 ints
Location to place axis within grid.
First entry is row number, second entry is column number.
rowspan : int
Number of rows for the axis to span to the right.
colspan : int
Number of columns for the axis to span downwards.
fig : `Figure`, optional
Figure to place axis in. Defaults to current figure.
**kwargs
Additional keyword arguments are handed to `add_subplot`.
Notes
-----
The following call ::
subplot2grid(shape, loc, rowspan=1, colspan=1)
is identical to ::
gridspec=GridSpec(shape[0], shape[1])
subplotspec=gridspec.new_subplotspec(loc, rowspan, colspan)
subplot(subplotspec)
N)<02>rowspan<61>colspan) rfrZnew_subplotspecr<63>r<>r<>r<>r<>r<>)<0E>shape<70>locrrr<>rd<00>s1<73>s2Z subplotspecr<63>r<>r<>r<>r<>rJrJrK<00> subplot2grid<69>s"(   
 rcCs|dkrt<00>}|<00><01>}|S)a

Make and return a second axes that shares the *x*-axis. The new axes will
overlay *ax* (or the current axes if *ax* is *None*), and its ticks will be
on the right.
Examples
--------
:doc:`/gallery/subplots_axes_and_figures/two_scales`
N)r<><00>twinx)r<><00>ax1rJrJrKr<00>s
rcCs|dkrt<00>}|<00><01>}|S)a
Make and return a second axes that shares the *y*-axis. The new axes will
overlay *ax* (or the current axes if *ax* is *None*), and its ticks will be
on the top.
Examples
--------
:doc:`/gallery/subplots_axes_and_figures/two_scales`
N)r<><00>twiny)r<>rrJrJrKr  s
r cCst<00>}|<06>||||||<05>dS)a<>
Tune the subplot layout.
The parameter meanings (and suggested defaults) are::
left = 0.125 # the left side of the subplots of the figure
right = 0.9 # the right side of the subplots of the figure
bottom = 0.1 # the bottom of the subplots of the figure
top = 0.9 # the top of the subplots of the figure
wspace = 0.2 # the amount of width reserved for space between subplots,
# expressed as a fraction of the average axis width
hspace = 0.2 # the amount of height reserved for space between subplots,
# expressed as a fraction of the average axis height
The actual defaults are controlled by the rc file
N)rf<00>subplots_adjust)<07>left<66>bottom<6F>right<68>topZwspaceZhspacer<65>rJrJrKr
sr
cCs<>td}dtd<|dkr(t<01>}|jj}n(x&tjjD]}|jj|kr2Pq2Wtd<04><01>tdd<06>}|jdd<08>t ||<03>}|td<tj<05>
|<02>|S) zy
Launch a subplot tool window for a figure.
A :class:`matplotlib.widgets.SubplotTool` instance is returned.
Ztoolbar<61>NoneNz$Could not find manager for targetfig)<02>r<>)r<>g<><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?)r) rr<>r<>r<>rr<>Z
_activeQuer<EFBFBD>r
r-r<>)Z targetfigZtbarr<72>Ztoolfig<69>retrJrJrK<00> subplot_tool3s
 
 
 r<00>H<EFBFBD>z<14>G<EFBFBD>?cCst<00>j||||d<01>dS)ay
Automatically adjust subplot parameters to give specified padding.
Parameters
----------
pad : float
Padding between the figure edge and the edges of subplots,
as a fraction of the font size.
h_pad, w_pad : float, optional
Padding (height/width) between edges of adjacent subplots,
as a fraction of the font size. Defaults to *pad*.
rect : tuple (left, bottom, right, top), optional
A rectangle (left, bottom, right, top) in the normalized
figure coordinate that the whole subplots area (including
labels) will fit into. Default is (0, 0, 1, 1).
)<04>pad<61>h_pad<61>w_pad<61>rectN)rf<00> tight_layout)rrrrrJrJrKrNsrcCs&t<00>}|dkr|<01><01> }|<01>|<00>dS)a@
Turn the axes box on or off on the current axes.
Parameters
----------
on : bool or None
The new `~matplotlib.axes.Axes` box state. If ``None``, toggle
the state.
See Also
--------
:meth:`matplotlib.axes.Axes.set_frame_on`
:meth:`matplotlib.axes.Axes.get_frame_on`
N)r<>Z get_frame_onZ set_frame_on)<02>onr<6E>rJrJrK<00>boxbs
rcOs&t<00>}|s|s|<02><01>S|j||<01>}|S)a<>
Get or set the x limits of the current axes.
Call signatures::
left, right = xlim() # return the current xlim
xlim((left, right)) # set the xlim to left, right
xlim(left, right) # set the xlim to left, right
If you do not specify args, you can pass *left* or *right* as kwargs,
i.e.::
xlim(right=3) # adjust the right leaving left unchanged
xlim(left=1) # adjust the left leaving right unchanged
Setting limits turns autoscaling off for the x-axis.
Returns
-------
left, right
A tuple of the new x-axis limits.
Notes
-----
Calling this function with no arguments (e.g. ``xlim()``) is the pyplot
equivalent of calling `~.Axes.get_xlim` on the current axes.
Calling this function with arguments is the pyplot equivalent of calling
`~.Axes.set_xlim` on the current axes. All arguments are passed though.
)r<>Zget_xlimZset_xlim)rcrdr<>rrJrJrK<00>xlimys
 rcOs&t<00>}|s|s|<02><01>S|j||<01>}|S)a<>
Get or set the y-limits of the current axes.
Call signatures::
bottom, top = ylim() # return the current ylim
ylim((bottom, top)) # set the ylim to bottom, top
ylim(bottom, top) # set the ylim to bottom, top
If you do not specify args, you can alternatively pass *bottom* or
*top* as kwargs, i.e.::
ylim(top=3) # adjust the top leaving bottom unchanged
ylim(bottom=1) # adjust the bottom leaving top unchanged
Setting limits turns autoscaling off for the y-axis.
Returns
-------
bottom, top
A tuple of the new y-axis limits.
Notes
-----
Calling this function with no arguments (e.g. ``ylim()``) is the pyplot
equivalent of calling `~.Axes.get_ylim` on the current axes.
Calling this function with arguments is the pyplot equivalent of calling
`~.Axes.set_ylim` on the current axes. All arguments are passed though.
)r<>Zget_ylimZset_ylim)rcrdr<>rrJrJrK<00>ylim<69>s
 rcKs<>t<00>}|dkr(|dkr(|<03><01>}|<03><02>}n4|dkrD|<03>|<00>}|<03><02>}n|<03>|<00>}|j|f|<02>}x|D]}|<05>|<02>qbW|td|<01>fS)a<>
Get or set the current tick locations and labels of the x-axis.
Call signatures::
locs, labels = xticks() # Get locations and labels
xticks(ticks, [labels], **kwargs) # Set locations and labels
Parameters
----------
ticks : array_like
A list of positions at which ticks should be placed. You can pass an
empty list to disable xticks.
labels : array_like, optional
A list of explicit labels to place at the given *locs*.
**kwargs
:class:`.Text` properties can be used to control the appearance of
the labels.
Returns
-------
locs
An array of label locations.
labels
A list of `.Text` objects.
Notes
-----
Calling this function with no arguments (e.g. ``xticks()``) is the pyplot
equivalent of calling `~.Axes.get_xticks` and `~.Axes.get_xticklabels` on
the current axes.
Calling this function with arguments is the pyplot equivalent of calling
`~.Axes.set_xticks` and `~.Axes.set_xticklabels` on the current axes.
Examples
--------
Get the current locations and labels:
>>> locs, labels = xticks()
Set label locations:
>>> xticks(np.arange(0, 1, step=0.2))
Set text labels:
>>> xticks(np.arange(5), ('Tom', 'Dick', 'Harry', 'Sally', 'Sue'))
Set text labels and properties:
>>> xticks(np.arange(12), calendar.month_name[1:13], rotation=20)
Disable xticks:
>>> xticks([])
NzText xticklabel)r<>Z
get_xticksZget_xticklabelsZ
set_xticksZset_xticklabels<6C>updater )<06>ticks<6B>labelsrdr<><00>locs<63>lrJrJrK<00>xticks<6B>s;




r"cKs<>t<00>}|dkr(|dkr(|<03><01>}|<03><02>}n4|dkrD|<03>|<00>}|<03><02>}n|<03>|<00>}|j|f|<02>}x|D]}|<05>|<02>qbW|td|<01>fS)a<>
Get or set the current tick locations and labels of the y-axis.
Call signatures::
locs, labels = yticks() # Get locations and labels
yticks(ticks, [labels], **kwargs) # Set locations and labels
Parameters
----------
ticks : array_like
A list of positions at which ticks should be placed. You can pass an
empty list to disable yticks.
labels : array_like, optional
A list of explicit labels to place at the given *locs*.
**kwargs
:class:`.Text` properties can be used to control the appearance of
the labels.
Returns
-------
locs
An array of label locations.
labels
A list of `.Text` objects.
Notes
-----
Calling this function with no arguments (e.g. ``yticks()``) is the pyplot
equivalent of calling `~.Axes.get_yticks` and `~.Axes.get_yticklabels` on
the current axes.
Calling this function with arguments is the pyplot equivalent of calling
`~.Axes.set_yticks` and `~.Axes.set_yticklabels` on the current axes.
Examples
--------
Get the current locations and labels:
>>> locs, labels = yticks()
Set label locations:
>>> yticks(np.arange(0, 1, step=0.2))
Set text labels:
>>> yticks(np.arange(5), ('Tom', 'Dick', 'Harry', 'Sally', 'Sue'))
Set text labels and properties:
>>> yticks(np.arange(12), calendar.month_name[1:13], rotation=45)
Disable yticks:
>>> yticks([])
NzText yticklabel)r<>Z
get_yticksZget_yticklabelsZ
set_yticksZset_yticklabelsrr )rrrdr<>r r!rJrJrK<00>ytickss;




r#cOs^t<00>}t|t<02>std<01><01>t|<00>dkr:|j<05><06>}|j<05><07>}n|j||<01>\}}t d|<03>t d|<04>fS)a
Get or set the radial gridlines on the current polar plot.
Call signatures::
lines, labels = rgrids()
lines, labels = rgrids(radii, labels=None, angle=22.5, fmt=None, **kwargs)
When called with no arguments, `.rgrids` simply returns the tuple
(*lines*, *labels*). When called with arguments, the labels will
appear at the specified radial distances and angle.
Parameters
----------
radii : tuple with floats
The radii for the radial gridlines
labels : tuple with strings or None
The labels to use at each radial gridline. The
`matplotlib.ticker.ScalarFormatter` will be used if None.
angle : float
The angular position of the radius labels in degrees.
fmt : str or None
Format string used in `matplotlib.ticker.FormatStrFormatter`.
For example '%f'.
Returns
-------
lines, labels : list of `.lines.Line2D`, list of `.text.Text`
*lines* are the radial gridlines and *labels* are the tick labels.
Other Parameters
----------------
**kwargs
*kwargs* are optional `~.Text` properties for the labels.
Examples
--------
::
# set the locations of the radial gridlines
lines, labels = rgrids( (0.25, 0.5, 1.0) )
# set the locations and labels of the radial gridlines
lines, labels = rgrids( (0.25, 0.5, 1.0), ('Tom', 'Dick', 'Harry' ))
See Also
--------
.pyplot.thetagrids
.projections.polar.PolarAxes.set_rgrids
.Axis.get_gridlines
.Axis.get_ticklabels
z"rgrids only defined for polar axesrzLine2D rgridlinezText rgridlabel)
r<EFBFBD>r<>rr<>r<>ZyaxisZ get_gridlines<65>get_ticklabelsZ
set_rgridsr )rcrdr<><00>linesrrJrJrK<00>rgrids[s8
 
 r&cOs^t<00>}t|t<02>std<01><01>t|<00>dkr:|j<05><06>}|j<05><07>}n|j||<01>\}}t d|<03>t d|<04>fS)a<>
Get or set the theta gridlines on the current polar plot.
Call signatures::
lines, labels = thetagrids()
lines, labels = thetagrids(angles, labels=None, fmt=None, **kwargs)
When called with no arguments, `.thetagrids` simply returns the tuple
(*lines*, *labels*). When called with arguments, the labels will
appear at the specified angles.
Parameters
----------
angles : tuple with floats, degrees
The angles of the theta gridlines.
labels : tuple with strings or None
The labels to use at each radial gridline. The
`.projections.polar.ThetaFormatter` will be used if None.
fmt : str or None
Format string used in `matplotlib.ticker.FormatStrFormatter`.
For example '%f'. Note that the angle in radians will be used.
Returns
-------
lines, labels : list of `.lines.Line2D`, list of `.text.Text`
*lines* are the theta gridlines and *labels* are the tick labels.
Other Parameters
----------------
**kwargs
*kwargs* are optional `~.Text` properties for the labels.
Examples
--------
::
# set the locations of the angular gridlines
lines, labels = thetagrids( range(45,360,90) )
# set the locations and labels of the angular gridlines
lines, labels = thetagrids( range(45,360,90), ('NE', 'NW', 'SW','SE') )
See Also
--------
.pyplot.rgrids
.projections.polar.PolarAxes.set_thetagrids
.Axis.get_gridlines
.Axis.get_ticklabels
z&thetagrids only defined for polar axesrzLine2D thetagridlinezText thetagridlabel)
r<EFBFBD>r<>rr<>r<>ZxaxisZ get_ticklinesr$Zset_thetagridsr )rcrdr<>r%rrJrJrK<00>
thetagrids<EFBFBD>s5
 
 r'cCsdS)NrJrJrJrJrK<00>plotting<6E>sr(c sLddddddddd h <09><00>tt<01><00>O<00>t<02>t<04><01>t<05><00>fd
d <0B>t<06><00><07>D<00><01>S) z<
Get a sorted list of all of the plotting commands.
<20> colormaps<70>colorsr<73>r<><00>get_plot_commandsr<73>r<>r(r<>c3s@|]8\}}|<01>d<00>s|<01>krt<01>|<02>rt<01>|<02><01>kr|VqdS)<02>_N)rr<00>inspect<63>
isfunction<EFBFBD> getmodule)r<><00>namer<65>)<02>exclude<64> this_modulerJrK<00> <genexpr><3E>s
z$get_plot_commands.<locals>.<genexpr>)<08>setr)r-r/r+r<><00>globals<6C>itemsrJrJ)r1r2rKr+<00>s
r+cCs
ttj<02>S)a<>+
Matplotlib provides a number of colormaps, and others can be added using
:func:`~matplotlib.cm.register_cmap`. This function documents the built-in
colormaps, and will also return a list of all registered colormaps if
called.
You can set the colormap for an image, pcolor, scatter, etc,
using a keyword argument::
imshow(X, cmap=cm.hot)
or using the :func:`set_cmap` function::
imshow(X)
pyplot.set_cmap('hot')
pyplot.set_cmap('jet')
In interactive mode, :func:`set_cmap` will update the colormap post-hoc,
allowing you to see which one works best for your data.
All built-in colormaps can be reversed by appending ``_r``: For instance,
``gray_r`` is the reverse of ``gray``.
There are several common color schemes used in visualization:
Sequential schemes
for unipolar data that progresses from low to high
Diverging schemes
for bipolar data that emphasizes positive or negative deviations from a
central value
Cyclic schemes
for plotting values that wrap around at the endpoints, such as phase
angle, wind direction, or time of day
Qualitative schemes
for nominal data that has no inherent ordering, where color is used
only to distinguish categories
Matplotlib ships with 4 perceptually uniform color maps which are
the recommended color maps for sequential data:
========= ===================================================
Colormap Description
========= ===================================================
inferno perceptually uniform shades of black-red-yellow
magma perceptually uniform shades of black-red-white
plasma perceptually uniform shades of blue-red-yellow
viridis perceptually uniform shades of blue-green-yellow
========= ===================================================
The following colormaps are based on the `ColorBrewer
<http://colorbrewer2.org>`_ color specifications and designs developed by
Cynthia Brewer:
ColorBrewer Diverging (luminance is highest at the midpoint, and
decreases towards differently-colored endpoints):
======== ===================================
Colormap Description
======== ===================================
BrBG brown, white, blue-green
PiYG pink, white, yellow-green
PRGn purple, white, green
PuOr orange, white, purple
RdBu red, white, blue
RdGy red, white, gray
RdYlBu red, yellow, blue
RdYlGn red, yellow, green
Spectral red, orange, yellow, green, blue
======== ===================================
ColorBrewer Sequential (luminance decreases monotonically):
======== ====================================
Colormap Description
======== ====================================
Blues white to dark blue
BuGn white, light blue, dark green
BuPu white, light blue, dark purple
GnBu white, light green, dark blue
Greens white to dark green
Greys white to black (not linear)
Oranges white, orange, dark brown
OrRd white, orange, dark red
PuBu white, light purple, dark blue
PuBuGn white, light purple, dark green
PuRd white, light purple, dark red
Purples white to dark purple
RdPu white, pink, dark purple
Reds white to dark red
YlGn light yellow, dark green
YlGnBu light yellow, light green, dark blue
YlOrBr light yellow, orange, dark brown
YlOrRd light yellow, orange, dark red
======== ====================================
ColorBrewer Qualitative:
(For plotting nominal data, :class:`ListedColormap` is used,
not :class:`LinearSegmentedColormap`. Different sets of colors are
recommended for different numbers of categories.)
* Accent
* Dark2
* Paired
* Pastel1
* Pastel2
* Set1
* Set2
* Set3
A set of colormaps derived from those of the same name provided
with Matlab are also included:
========= =======================================================
Colormap Description
========= =======================================================
autumn sequential linearly-increasing shades of red-orange-yellow
bone sequential increasing black-white color map with
a tinge of blue, to emulate X-ray film
cool linearly-decreasing shades of cyan-magenta
copper sequential increasing shades of black-copper
flag repetitive red-white-blue-black pattern (not cyclic at
endpoints)
gray sequential linearly-increasing black-to-white
grayscale
hot sequential black-red-yellow-white, to emulate blackbody
radiation from an object at increasing temperatures
jet a spectral map with dark endpoints, blue-cyan-yellow-red;
based on a fluid-jet simulation by NCSA [#]_
pink sequential increasing pastel black-pink-white, meant
for sepia tone colorization of photographs
prism repetitive red-yellow-green-blue-purple-...-green pattern
(not cyclic at endpoints)
spring linearly-increasing shades of magenta-yellow
summer sequential linearly-increasing shades of green-yellow
winter linearly-increasing shades of blue-green
========= =======================================================
A set of palettes from the `Yorick scientific visualisation
package <https://dhmunro.github.io/yorick-doc/>`_, an evolution of
the GIST package, both by David H. Munro are included:
============ =======================================================
Colormap Description
============ =======================================================
gist_earth mapmaker's colors from dark blue deep ocean to green
lowlands to brown highlands to white mountains
gist_heat sequential increasing black-red-orange-white, to emulate
blackbody radiation from an iron bar as it grows hotter
gist_ncar pseudo-spectral black-blue-green-yellow-red-purple-white
colormap from National Center for Atmospheric
Research [#]_
gist_rainbow runs through the colors in spectral order from red to
violet at full saturation (like *hsv* but not cyclic)
gist_stern "Stern special" color table from Interactive Data
Language software
============ =======================================================
A set of cyclic color maps:
================ =================================================
Colormap Description
================ =================================================
hsv red-yellow-green-cyan-blue-magenta-red, formed by
changing the hue component in the HSV color space
twilight perceptually uniform shades of
white-blue-black-red-white
twilight_shifted perceptually uniform shades of
black-blue-white-red-black
================ =================================================
Other miscellaneous schemes:
============= =======================================================
Colormap Description
============= =======================================================
afmhot sequential black-orange-yellow-white blackbody
spectrum, commonly used in atomic force microscopy
brg blue-red-green
bwr diverging blue-white-red
coolwarm diverging blue-gray-red, meant to avoid issues with 3D
shading, color blindness, and ordering of colors [#]_
CMRmap "Default colormaps on color images often reproduce to
confusing grayscale images. The proposed colormap
maintains an aesthetically pleasing color image that
automatically reproduces to a monotonic grayscale with
discrete, quantifiable saturation levels." [#]_
cubehelix Unlike most other color schemes cubehelix was designed
by D.A. Green to be monotonically increasing in terms
of perceived brightness. Also, when printed on a black
and white postscript printer, the scheme results in a
greyscale with monotonically increasing brightness.
This color scheme is named cubehelix because the r,g,b
values produced can be visualised as a squashed helix
around the diagonal in the r,g,b color cube.
gnuplot gnuplot's traditional pm3d scheme
(black-blue-red-yellow)
gnuplot2 sequential color printable as gray
(black-blue-violet-yellow-white)
ocean green-blue-white
rainbow spectral purple-blue-green-yellow-orange-red colormap
with diverging luminance
seismic diverging blue-white-red
nipy_spectral black-purple-blue-green-yellow-red-white spectrum,
originally from the Neuroimaging in Python project
terrain mapmaker's colors, blue-green-yellow-brown-white,
originally from IGOR Pro
============= =======================================================
The following colormaps are redundant and may be removed in future
versions. It's recommended to use the names in the descriptions
instead, which produce identical output:
========= =======================================================
Colormap Description
========= =======================================================
gist_gray identical to *gray*
gist_yarg identical to *gray_r*
binary identical to *gray_r*
========= =======================================================
.. rubric:: Footnotes
.. [#] Rainbow colormaps, ``jet`` in particular, are considered a poor
choice for scientific visualization by many researchers: `Rainbow Color
Map (Still) Considered Harmful
<http://ieeexplore.ieee.org/document/4118486/?arnumber=4118486>`_
.. [#] Resembles "BkBlAqGrYeOrReViWh200" from NCAR Command
Language. See `Color Table Gallery
<https://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml>`_
.. [#] See `Diverging Color Maps for Scientific Visualization
<http://www.kennethmoreland.com/color-maps/>`_ by Kenneth Moreland.
.. [#] See `A Color Map for Effective Black-and-White Rendering of
Color-Scale Images
<https://www.mathworks.com/matlabcentral/fileexchange/2662-cmrmap-m>`_
by Carey Rappaport
)r<>r"Zcmap_drJrJrJrKr)<00>ssr)c st<00>}tjdtjd<02>}g}td<03><01>td<04><01>x<>|D]x}t<05>|j}d}|dk rv|<01>|<04>}|dk rvt<08> |<06>
d<07><01><01> dd <09>}d
|}|<02> ||g<02>t <0A>t|<03><01><02>t <0A>t|<05><01><02>q0Wd <0B>d d <0B>}|d <0C>d<03>d<04><01>|g<03><00>fd d<0E>|D<00>|g}d<08>|<08>t_dS)z<>
Generates the plotting docstring.
These must be done after the entire module is imported, so it is
called from the end of this module, which is generated by
boilerplate.py.
z(?:\s*).+?\.(?:\s+|$))<01>flagsZFunction<6F> Descriptionr<6E>Nr<00>
<EFBFBD> z`%s`<60>=z {:{}} {:{}}cs g|]\}}d<00>|<01>|<02><01><04>qS)z {:{}} {:{}})rs)r<>r0<00>summary)<02>max_name<6D> max_summaryrJrKr<>sz1_setup_pyplot_info_docstrings.<locals>.<listcomp>)r+<00>re<72>compile<6C>DOTALLr<4C>r5<00>__doc__rir-<00>cleandocr<63><00>replacer<65>r<>rs<00>joinr() <09>commandsZfirst_sentenceZrowsr0<00>docr<ri<00> separatorr%rJ)r=r>rK<00>_setup_pyplot_info_docstrings<67>s(
 
(rIcKsJ|dkrt<00>}|dkrtd<01><01>|dkr,t<02>}t<03>j|f||d<02>|<03><02>}|S)Nz<4E>No mappable was found to use for colorbar creation. First define a mappable such as an image (with imshow) or a contour set (with contourf).)<02>caxr<78>)r<>r<>r<>rf<00>colorbar)ZmappablerJr<>r<>rrJrJrKrKsrKcCs&t<00>}|dkrtd<02><01>|<02>||<01>dS)a[
Set the color limits of the current image.
If either *vmin* or *vmax* is None, the image min/max respectively
will be used for color scaling.
If you want to set the clim of multiple images, use
`~.ScalarMappable.set_clim` on every image, for example::
for im in gca().get_images():
im.set_clim(0, 0.5)
Nz1You must first define an image, e.g., with imshow)r<>r<>Zset_clim)<03>vmin<69>vmax<61>imrJrJrK<00>clim,srOcCs4t<00>|<00>}td|jd<02>t<04>}|dk r0|<01>|<00>dS)a;
Set the default colormap. Applies to the current image if any.
See help(colormaps) for more information.
*cmap* must be a :class:`~matplotlib.colors.Colormap` instance, or
the name of a registered colormap.
See :func:`matplotlib.cm.register_cmap` and
:func:`matplotlib.cm.get_cmap`.
<20>image)<01>cmapN)r"r#r<>r0r<><00>set_cmap)rQrNrJrJrKrRAs
rRcCstj<01>||<01>S)N)rOrP<00>imread)r<>rsrJrJrKrSUsrScKstjj||f|<02>S)N)rOrP<00>imsave)r<>ZarrrdrJrJrKrTZsrTcKsVt<00>|<00>}|dkrt<02>}n"t|t|<00>d<02>}|<04>ddddg<04>}|j|f|<02>}t|<05>|S)al
Display an array as a matrix in a new figure window.
The origin is set at the upper left hand corner and rows (first
dimension of the array) are displayed horizontally. The aspect
ratio of the figure window is that of the array, unless this would
make an excessively short or narrow figure.
Tick labels for the xaxis are placed on top.
Parameters
----------
A : array-like(M, N)
The matrix to be displayed.
fignum : None or int or False
If *None*, create a new figure window with automatic numbering.
If a nonzero integer, draw into the figure with the given number
(create it if it does not exist).
If 0, use the current axes (or create one if it does not exist).
.. note::
Because of how `.Axes.matshow` tries to set the figure aspect
ratio to be the one of the array, strange things may happen if you
reuse an existing figure.
Returns
-------
image : `~matplotlib.image.AxesImage`
Other Parameters
----------------
**kwargs : `~matplotlib.axes.Axes.imshow` arguments
r)r<>g333333<33>?g
ףp=
<EFBFBD>?g<><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>?)<08>npZ
asanyarrayr<EFBFBD>r<>rr<><00>matshow<6F>sci)<06>AZfignumrdr<>r<>rNrJrJrKrV_s'
rVcOs:t<00><00><01>r tt<03>t<04>s t<05>d<01>tdd<03>}|j||<01>}|S)z<>
Make a polar plot.
call signature::
polar(theta, r, **kwargs)
Multiple *theta*, *r* arguments are supported, with format
strings, as in :func:`~matplotlib.pyplot.plot`.
zMTrying to create polar plot on an axis that does not have a polar projection.T)<01>polar)rfZget_axesr<73>r<>rrr<><00>plot)rcrdr<>rrJrJrKrY<00>s
 

 rY<00>r<00>#<23><00>,c
 s<>| r t<00>} nt<01>} t|<01>dkr&td<02><01>|dkr2i}t<04><05><00>tj||||||d<04><06>WdQRX<00>fdd<06>} | |d<00>\} }g}t|<01>dkr<>| <0B>ddd<01>}|<02> |dd<08>}t
||<11>}||f|
<EFBFBD>|<10> | <0A>n<>t|<01>}x<>t d|<13>D]<5D>}|<08>r |dk<02>r| <0B>|dd|<14>}}n| j|dd||d <09>}n|dk<02>r8| <0B>ddd<01>}| ||<00>\}}|<0F> |<16>|<02> ||d<08>}t
||<11>}|||f|
<EFBFBD>|<08>r<>|<15> |<16>|<15><0E><00>r<>|<15>| <0A>q<>|<15>d
<EFBFBD>q<>W|<08>s<>|<15>|<0F>| d k<02>r<>| <0B><11>dS) a
Plot the data in a file.
*cols* is a sequence of column identifiers to plot. An identifier
is either an int or a string. If it is an int, it indicates the
column number. If it is a string, it indicates the column header.
matplotlib will make column headers lower case, replace spaces with
underscores, and remove all illegal characters; so ``'Adj Close*'``
will have name ``'adj_close'``.
- If len(*cols*) == 1, only that column will be plotted on the *y* axis.
- If len(*cols*) > 1, the first element will be an identifier for
data for the *x* axis and the remaining elements will be the
column indexes for multiple subplots if *subplots* is *True*
(the default), or for lines in a single subplot if *subplots*
is *False*.
*plotfuncs*, if not *None*, is a dictionary mapping identifier to
an :class:`~matplotlib.axes.Axes` plotting function as a string.
Default is 'plot', other choices are 'semilogy', 'fill', 'bar',
etc. You must use the same type of identifier in the *cols*
vector as you use in the *plotfuncs* dictionary, e.g., integer
column numbers in both or column names in both. If *subplots*
is *False*, then including any function such as 'semilogy'
that changes the axis scaling will set the scaling for all
columns.
- *comments*: the character used to indicate the start of a comment
in the file, or *None* to switch off the removal of comments
- *skiprows*: is the number of rows from the top to skip
- *checkrows*: is the number of rows to check to validate the column
data type. When set to zero all rows are validated.
- *delimiter*: is the character(s) separating row items
- *names*: if not None, is a list of header names. In this case, no
header will be read from the file
If *newfig* is *True*, the plot always will be made in a new figure;
if *False*, it will be made in the current figure if one exists,
else in a new figure.
kwargs are passed on to plotting functions.
Example usage::
# plot the 2nd and 4th column against the 1st in two subplots
plotfile(fname, (0,1,3))
# plot using column names; specify an alternate plot type for volume
plotfile(fname, ('date', 'volume', 'adj_close'),
plotfuncs={'volume': 'semilogy'})
Note: plotfile is intended as a convenience for quickly plotting
data from flat files; it is not intended as an alternative
interface to general plotting with pyplot or matplotlib.
r1z%must have at least one column of dataN)<05>comments<74>skiprows<77> checkrows<77> delimiter<65>namescsHt|t<01>r|<00>|fSt|t<02>r<<3C>jjt|<00>}|<01>|fStd<01><01>dS)z.return the name and column data for identifierz&identifier must be a string or integerN)r<>r<>rZdtypercr<>r<>)<02>
identifierr0)<01>rrJrK<00> getname_val<61>s 
 
 zplotfile.<locals>.getname_valrrZ)r<>r<><00>date)r<>rfr<>r<>rZ(_suppress_matplotlib_deprecation_warningrZ_csv2recr<63>r<00>getattr<74>
set_ylabel<EFBFBD>ranger<65>Z is_last_row<6F>
set_xlabelr<EFBFBD>Z autofmt_xdate)r<><00>colsZ plotfuncsr_r`rarbrcr<>Znewfigrdr<>rfZxnamer<65>Z ynamelistr<00>funcnamer<65><00>N<>ir<69>Zynamer<65>rJ)rerK<00>plotfile<6C>sT@ 


 
  





 

rpZbackend_fallbackrl)<01>datacKs$t<00>j|f|dk rd|ini|<02><02>S)Nrq)r<><00>acorr)r<>rqrdrJrJrKrrA srrcKs2t<00>j|f|||||d<01>|dk r(d|ini|<07><03>S)N)<05>Fs<46>Fc<46>window<6F>pad_to<74>sidesrq)r<><00>angle_spectrum)r<>rsrtrurvrwrqrdrJrJrKrxH srxcOst<00>j||f|<02>|<03>S)N)r<><00>annotate)r<>ZxyrcrdrJrJrKryR srycKst<00>j||||f|<04>S)N)r<><00>arrow)r<>r<>ZdxZdyrdrJrJrKrzX srz<00>bothcCst<00>j|||d<01>S)N)<03>enable<6C>axis<69>tight)r<><00> autoscale)r|r}r~rJrJrKr^ srcKst<00>jf|||d<01>|<03><02>S)N)r<><00>xmin<69>xmax)r<><00>axhline)r<>r<>r<>rdrJrJrKr<>d sr<>cKst<00>j||f||d<01>|<04><02>S)N)r<>r<>)r<><00>axhspan)<05>ymin<69>ymaxr<78>r<>rdrJrJrKr<>j sr<>cOst<00>j||<01>S)N)r<>r})rcrdrJrJrKr}p sr}cKst<00>jf|||d<01>|<03><02>S)N)r<>r<>r<>)r<><00>axvline)r<>r<>r<>rdrJrJrKr<>v sr<>cKst<00>j||f||d<01>|<04><02>S)N)r<>r<>)r<><00>axvspan)r<>r<>r<>r<>rdrJrJrKr<>| sr<><><E79A99><EFBFBD><EFBFBD><EFBFBD>?<3F>center)<02>alignrqcKs0t<00>j||f|||d<01>|dk r&d|ini|<06><03>S)N)<03>widthr r<>rq)r<><00>bar)r<><00>heightr<74>r r<>rqrdrJrJrKr<><00> sr<>cOs"t<00>j||dk rd|ini|<02><02>S)Nrq)r<><00>barbs)rqrcr<>rJrJrKr<><00> sr<>)r<>cKst<00>j||f|||d<01>|<05><02>S)N)r<>r r<>)r<><00>barh)r<>r<>r<>r r<>rdrJrJrKr<><00> sr<>cCsXt<00>j|f||||||||| |
| | | ||||||||||||d<01>|dk rPd|ini<00><02>S)N)<19>notch<63>sym<79>vert<72>whis<69> positions<6E>widths<68> patch_artist<73> bootstrap<61> usermedians<6E>conf_intervals<6C>meanline<6E> showmeans<6E>showcaps<70>showbox<6F>
showfliers<EFBFBD>boxpropsr<00>
flierprops<EFBFBD> medianprops<70> meanprops<70>capprops<70> whiskerprops<70> manage_ticks<6B> autorange<67>zorderrq)r<><00>boxplot)r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>rr<>r<>r<>r<>r<>r<>r<>r<>rqrJrJrKr<><00> s
 
r<>cKs&t<00>j||f|dk rd|ini|<03><02>S)Nrq)r<><00> broken_barh)ZxrangesZyrangerqrdrJrJrKr<><00> sr<>cCs
t<00><00><01>S)N)r<><00>clarJrJrJrKr<><00> sr<>cOst<00>j|f|<01>|<02>S)N)r<><00>clabel)<03>CSrcrdrJrJrKr<><00> sr<><00><00>defaultc  Ks<t<00>j||f|||||||| |
d<01> | dk r2d| ini| <0C><03>S)N) <09>NFFTrsrt<00>detrendru<00>noverlaprvrw<00> scale_by_freqrq)r<><00>cohere) r<>r<>r<>rsrtr<>rur<>rvrwr<>rqrdrJrJrKr<><00> s
r<>cOs8t<00>j||dk rd|ini|<02><02>}|jdk r4t|<03>|S)Nrq)r<><00>contour<75>_ArW)rqrcrd<00>__retrJrJrKr<><00> s 
r<>cOs8t<00>j||dk rd|ini|<02><02>}|jdk r4t|<03>|S)Nrq)r<><00>contourfr<66>rW)rqrcrdr<>rJrJrKr<><00> s 
r<>c  Ks>t<00>j||f|||||||| |
| d<01>
| dk r4d| ini| <0A><03>S)N)
r<EFBFBD>rsrtr<>rur<>rvrwr<><00> return_linerq)r<><00>csd)r<>r<>r<>rsrtr<>rur<>rvrwr<>r<>rqrdrJrJrKr<><00> s
r<>r<>cKsDt<00>j||f|||||||| |
| | | |d<01> |dk r:d|ini|<10><03>S)N) <0A>yerr<72>xerr<72>fmt<6D>ecolor<6F>
elinewidth<EFBFBD>capsize<7A> barsabove<76>lolims<6D>uplims<6D>xlolims<6D>xuplims<6D>
errorevery<EFBFBD>capthickrq)r<><00>errorbar)r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>rqrdrJrJrKr<><00> s 
r<><00>
horizontal<EFBFBD>solidc Ks4t<00>j|f||||||d<01>|dk r*d|ini|<08><03>S)N)<06> orientation<6F> lineoffsets<74> linelengths<68>
linewidthsr*<00>
linestylesrq)r<><00> eventplot) r<>r<>r<>r<>r<>r*r<>rqrdrJrJrKr<>
s
r<>cOs"t<00>j||dk rd|ini|<02><02>S)Nrq)r<><00>fill)rqrcrdrJrJrKr<>
sr<>cKs2t<00>j||f||||d<01>|dk r(d|ini|<07><03>S)N)<04>y2<79>where<72> interpolate<74>steprq)r<><00> fill_between)r<><00>y1r<31>r<>r<>r<>rqrdrJrJrKr<>
sr<>cKs2t<00>j||f||||d<01>|dk r(d|ini|<07><03>S)N)<04>x2r<32>r<>r<>rq)r<><00> fill_betweenx)r<><00>x1r<31>r<>r<>r<>rqrdrJrJrKr<>#
sr<><00>majorcKst<00>jf|||d<01>|<03><02>S)N)<03>b<>whichr})r<><00>grid)r<>r<>r}rdrJrJrKr<>-
sr<>Zlinear<61>facecKsVt<00>j||f|||||||| |
| | | ||||d<01>|dk r@d|ini|<13><03>}t|<14>|S)N)<10>C<>gridsize<7A>bins<6E>xscale<6C>yscale<6C>extentrQ<00>normrLrM<00>alphar<61><00>
edgecolors<EFBFBD>reduce_C_function<6F>mincnt<6E> marginalsrq)r<><00>hexbinrW)r<>r<>r<>r<>r<>r<>r<>r<>rQr<>rLrMr<>r<>r<>r<>r<>r<>rqrdr<>rJrJrKr<>3
s

r<><00>mid<69>verticalcKsFt<00>j|f||||||||| |
| | | ||d<01>|dk r<d|ini|<11><03>S)N)r<>rj<00>density<74>weights<74>
cumulativer <00>histtyper<65>r<><00>rwidth<74>log<6F>color<6F>label<65>stacked<65>normedrq)r<><00>hist)r<>r<>rjr<>r<>r<>r r<>r<>r<>r<>r<>r<>r<>r<>r<>rqrdrJrJrKr<>F
s   r<><00>
c KsFt<00>j||f||||||d<01>|dk r,d|ini| <09><03>}
t|
d<00>|
S)N)r<>rjr<>r<><00>cmin<69>cmaxrq<00><><EFBFBD><EFBFBD><EFBFBD>)r<><00>hist2drW) r<>r<>r<>rjr<>r<>r<>r<>rqrdr<>rJrJrKr<>V
s  
 r<><00>kcKs2t<00>j|||f|||d<01>|dk r(d|ini|<07><03>S)N)r*r<>r<>rq)r<><00>hlines)r<>r<>r<>r*r<>r<>rqrdrJrJrKr<>c
s r<><00>@cKsRt<00>j|f||||||||| |
| | | ||d<01>|dk r<d|ini|<11><03>}t|<12>|S)N)rQr<><00>aspect<63> interpolationr<6E>rLrM<00>originr<6E>r<00>
filternorm<EFBFBD> filterrad<61>imlim<69>resample<6C>urlrq)r<><00>imshowrW)<13>XrQr<>rrr<>rLrMrr<>rrrrrrrqrdr<>rJrJrKr n
s

r cOst<00>j||<01>S)N)r<>r<>)rcrdrJrJrKr<><00>
sr<>cKst<00>jf||d<01>|<02><02>S)N)r}r~)r<><00>locator_params)r}r~rdrJrJrKr <00>
sr cOst<00>j||<01>S)N)r<><00>loglog)rcrdrJrJrKr <00>
sr c Ks4t<00>j|f||||||d<01>|dk r*d|ini|<08><03>S)N)rsrtrurvrwr<>rq)r<><00>magnitude_spectrum) r<>rsrtrurvrwr<>rqrdrJrJrKr <00>
sr )r<>r<>r~cGst<00>j||||d<01><03>S)N)r<>r<>r~)r<><00>margins)r<>r<>r~rrJrJrKr<00>
srcCs
t<00><00><01>S)N)r<><00>minorticks_offrJrJrJrKr<00>
srcCs
t<00><00><01>S)N)r<><00> minorticks_onrJrJrJrKr<00>
sr)r<>r<>rQrLrMrqc Os<t<00>j||||||d<01>|dk r&d|ini|<07><03>}t|<08>|S)N)r<>r<>rQrLrMrq)r<><00>pcolorrW) r<>r<>rQrLrMrqrcrdr<>rJrJrKr<00>
s 
rZflat)r<>r<>rQrLrM<00>shading<6E> antialiasedrqc
Os@t<00>j||||||||d<01>|dk r*d|ini| <09><03>}
t|
<EFBFBD>|
S)N)r<>r<>rQrLrMrrrq)r<><00>
pcolormeshrW) r<>r<>rQrLrMrrrqrcrdr<>rJrJrKr<00>
s 

rcKs2t<00>j|f|||||d<01>|dk r(d|ini|<07><03>S)N)rsrtrurvrwrq)r<><00>phase_spectrum)r<>rsrtrurvrwrqrdrJrJrKr<00>
sr<00>333333<33>?皙<><E79A99><EFBFBD><EFBFBD><EFBFBD>?<3F>rrcCsDt<00>j|f||||||||| |
| | | ||d<01>|dk r<d|ini<00><02>S)N)<0F>exploderr*<00>autopct<63> pctdistance<63>shadow<6F> labeldistance<63>
startangle<EFBFBD>radius<75> counterclock<63>
wedgeprops<EFBFBD> textpropsr<73><00>frame<6D> rotatelabelsrq)r<><00>pie)r<>rrr*rrrrrrr r!r"r<>r#r$rqrJrJrKr%<00>
s
r%)<03>scalex<65>scaleyrqcOs*t<00>j|||d<01>|dk r d|ini|<04><03>S)N)r&r'rq)r<>rZ)r&r'rqrcrdrJrJrKrZ<00>
s rZrhcKs2t<00>j||f||||d<01>|dk r(d|ini|<07><03>S)N)r<><00>tz<74>xdate<74>ydaterq)r<><00> plot_date)r<>r<>r<>r(r)r*rqrdrJrJrKr+<00>
sr+c  Ks<t<00>j|f||||||||| |
d<01>
| dk r2d| ini| <0C><03>S)N)
r<EFBFBD>rsrtr<>rur<>rvrwr<>r<>rq)r<><00>psd) r<>r<>rsrtr<>rur<>rvrwr<>r<>rqrdrJrJrKr,<00>
s
r,cOs.t<00>j||dk rd|ini|<02><02>}t|<03>|S)Nrq)r<><00>quiverrW)rqrcr<>r<>rJrJrKr- sr-cKst<00>j|||||f|<05>S)N)r<><00> quiverkey)<06>Qr
<00>Y<>Ur<55>r<>rJrJrKr. sr.)<02> plotnonfiniterqc KsNt<00>j||f|||||||| |
| | | d<01> |dk r8d|ini|<0F><03>}t|<10>|S)N) r<><00>c<>markerrQr<>rLrMr<>r<><00>vertsr<73>r2rq)r<><00>scatterrW)r<>r<>r<>r3r4rQr<>rLrMr<>r<>r5r<>r2rqrdr<>rJrJrKr6 sr6cOst<00>j||<01>S)N)r<><00>semilogx)rcrdrJrJrKr7% sr7cOst<00>j||<01>S)N)r<><00>semilogy)rcrdrJrJrKr8+ sr8cKsVt<00>j|f||||||||| |
| | | ||d<01>|dk r<d|ini|<11><03>}t|d<00>|S)N)r<>rsrtr<>rur<>rQ<00>xextentrvrwr<><00>moder<65>rLrMrqr<>)r<><00>specgramrW)r<>r<>rsrtr<>rur<>rQr9rvrwr<>r:r<>rLrMrqrdr<>rJrJrKr;1 s  r;<00>equal<61>uppercKs8t<00>j|f|||||d<01>|<06><02>}t|tj<04>r4t|<07>|S)N)<05> precisionr4<00>
markersizerr)r<><00>spyr<79>r"ZScalarMappablerW)<08>Zr>r4r?rrrdr<>rJrJrKr@B s 
 r@rJZzero)rr*<00>baselinerqcOs2t<00>j|f|<05>|||d<01>|dk r(d|ini|<06><03>S)N)rr*rBrq)r<><00> stackplot)r<>rr*rBrqrcrdrJrJrKrCN srC)<07>linefmt<6D> markerfmt<6D>basefmtr r<><00>use_line_collectionrqc Gs0t<00>j|||||||d<01>|dk r(d|ini<00><02>S)N)rDrErFr r<>rGrq)r<><00>stem)rDrErFr r<>rGrqrcrJrJrKrHX s
rH<00>pre)r<>rqcOs0t<00>j||f|<04>d|i|dk r&d|ini|<05><03>S)Nr<4E>rq)r<>r<>)r<>r<>r<>rqrcrdrJrJrKr<>d sr<><00>-|>皙<><E79A99><EFBFBD><EFBFBD><EFBFBD>?cCsTt<00>j||||f|||||| |
| | | |||d<01> |dk r>d|ini<00><02>}t|j<03>|S)N) r<>r<>r<>rQr<><00> arrowsize<7A>
arrowstyle<EFBFBD> minlength<74> transformr<6D><00> start_points<74> maxlength<74>integration_directionrq)r<><00>
streamplotrWr%)r<>r<><00>u<>vr<76>r<>r<>rQr<>rLrMrNrOr<>rPrQrRrqr<>rJrJrKrSl s
rSr r r <00>closedc Ks.t<00>jf|||||||||| |
| | d<01> | <0A><02>S)N) <0A>cellText<78> cellColours<72>cellLoc<6F> colWidths<68> rowLabels<6C>
rowColours<EFBFBD>rowLoc<6F> colLabels<6C>
colColours<EFBFBD>colLocrr<><00>edges)r<><00>table)rWrXrYrZr[r\r]r^r_r`rr<>rardrJrJrKrb s rbcKst<00>j|||f||d<01>|<05><02>S)N)<02>fontdict<63>withdash)r<>r<>)r<>r<>r<>rcrdrdrJrJrKr<><00> sr<>cKst<00>jfd|i|<01><02>S)Nr})r<><00> tick_params)r}rdrJrJrKre<00> sre)r}r<00> scilimits<74> useOffset<65> useLocale<6C> useMathTextcCst<00>j||||||d<01>S)N)r}rrfrgrhri)r<><00>ticklabel_format)r}rrfrgrhrirJrJrKrj<00> srjcOs$t<00>j||<01>}|jdk r t|<02>|S)N)r<><00>
tricontourr<EFBFBD>rW)rcrdr<>rJrJrKrk<00> s
rkcOs$t<00>j||<01>}|jdk r t|<02>|S)N)r<><00> tricontourfr<66>rW)rcrdr<>rJrJrKrl<00> s
rlg<00>?)r<>r<>rQrLrMr<00>
facecolorsc
Os.t<00>j||||||||d<01>|<08><02>} t| <09>| S)N)r<>r<>rQrLrMrrm)r<><00> tripcolorrW)
r<EFBFBD>r<>rQrLrMrrmrcrdr<>rJrJrKrn<00> s

rncOst<00>j||<01>S)N)r<><00>triplot)rcrdrJrJrKro<00> sro<00><00>?c 
Cs6t<00>j|f||||||||d<01>| dk r.d| ini<00><02>S)N)r<>r<>r<>r<><00> showextrema<6D> showmedians<6E>points<74> bw_methodrq)r<><00>
violinplot)
Zdatasetr<74>r<>r<>r<>rqrrrsrtrqrJrJrKru<00> s


rucKs2t<00>j|||f|||d<01>|dk r(d|ini|<07><03>S)N)r*r<>r<>rq)r<><00>vlines)r<>r<>r<>r*r<>r<>rqrdrJrJrKrv<00> s rvcKs2t<00>j||f||||d<01>|dk r(d|ini|<07><03>S)N)r<>r<><00> usevlines<65>maxlagsrq)r<><00>xcorr)r<>r<>r<>r<>rwrxrqrdrJrJrKry<00> s rycCs t<00><00>|<00>S)N)r<><00>_sci)rNrJrJrKrW<00> srWcKst<00>j|f|||d<01>|<04><02>S)N)rcrr)r<><00> set_title)r<>rcrrrdrJrJrK<00>title<6C> sr|cKst<00>j|f||d<01>|<03><02>S)N)rc<00>labelpad)r<>rk)<04>xlabelrcr}rdrJrJrKr~<00> sr~cKst<00>j|f||d<01>|<03><02>S)N)rcr})r<>ri)<04>ylabelrcr}rdrJrJrKr srcKst<00>j|f|<01>S)N)r<><00>
set_xscale)<02>valuerdrJrJrKr<> sr<>cKst<00>j|f|<01>S)N)r<><00>
set_yscale)r<>rdrJrJrKr<> sr<>cCs td<01>dS)z<>
Set the colormap to "autumn".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>autumnN)rRrJrJrJrKr<> sr<>cCs td<01>dS)z<>
Set the colormap to "bone".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>boneN)rRrJrJrJrKr<> sr<>cCs td<01>dS)z<>
Set the colormap to "cool".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>coolN)rRrJrJrJrKr<>* sr<>cCs td<01>dS)z<>
Set the colormap to "copper".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>copperN)rRrJrJrJrKr<>5 sr<>cCs td<01>dS)z<>
Set the colormap to "flag".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>flagN)rRrJrJrJrKr<>@ sr<>cCs td<01>dS)z<>
Set the colormap to "gray".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>grayN)rRrJrJrJrKr<>K sr<>cCs td<01>dS)z<>
Set the colormap to "hot".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>hotN)rRrJrJrJrKr<>V sr<>cCs td<01>dS)z<>
Set the colormap to "hsv".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>hsvN)rRrJrJrJrKr<>a sr<>cCs td<01>dS)z<>
Set the colormap to "jet".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>jetN)rRrJrJrJrKr<>l sr<>cCs td<01>dS)z<>
Set the colormap to "pink".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>pinkN)rRrJrJrJrKr<>w sr<>cCs td<01>dS)z<>
Set the colormap to "prism".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>prismN)rRrJrJrJrKr<><00> sr<>cCs td<01>dS)z<>
Set the colormap to "spring".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>springN)rRrJrJrJrKr<><00> sr<>cCs td<01>dS)z<>
Set the colormap to "summer".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>summerN)rRrJrJrJrKr<><00> sr<>cCs td<01>dS)z<>
Set the colormap to "winter".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>winterN)rRrJrJrJrKr<><00> sr<>cCs td<01>dS)z<>
Set the colormap to "magma".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>magmaN)rRrJrJrJrKr<><00> sr<>cCs td<01>dS)z<>
Set the colormap to "inferno".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>infernoN)rRrJrJrJrKr<><00> sr<>cCs td<01>dS)z<>
Set the colormap to "plasma".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>plasmaN)rRrJrJrJrKr<><00> sr<>cCs td<01>dS)z<>
Set the colormap to "viridis".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20>viridisN)rRrJrJrJrKr<><00> sr<>cCs td<01>dS)z<>
Set the colormap to "nipy_spectral".
This changes the default colormap as well as the colormap of the current
image if there is one. See ``help(colormaps)`` for more information.
<20> nipy_spectralN)rRrJrJrJrKr<><00> sr<>)NNT)NN)r1r<>r<>)N)N)N)r1r1FFTNN)r1r1N)N)N)NNNNNN)N)rNNN)N)NN)NN)NNN)NN)N)N) r[Nr\rr]r^NTT)NNNNN)Tr{N)rrr1)rr1)rrr1)rr1)r<>N)r<>N)NNNNNNNNNNNNNNNNNNNNNNTFN)
NNNNNNNNNN) NNr<4E>NNNFFFFFr1N)r<>r1r1NNr<4E>)rNFN)rNNF)Nr<4E>r{)NNNNFNr<4E>r<>r<>NFNNFN)r<>NFNNN)r<>r<>r<>)r{N)NNNNNN)NNNNN)NNNNrFrNNTNNrFF)rhNTF)
NNNNNNNNNN) NNNNNNNNNNN)NNNNNNNNNNNNNNN)rNNr<r=) r1NNNNr1rJrKNNNrr{) NNr NNNr NNr<4E>r NrV)r{)NTrpFTFr<46>N)r<>r<>r<>)Nr<4E>N)NN)NN( rB<00> functoolsrur-<00>logging<6E>numbersrr?rUr<>rrOZmatplotlib.colorbarZmatplotlib.imagerrrrrZmatplotlib.cbookr r
r r r Zmatplotlib.backend_basesrZmatplotlib.figurerrZmatplotlib.gridspecrrrrrrZmatplotlib.rcsetuprZ_interactive_bkZmatplotlib.artistrrrrr<>Zmatplotlib.axesrrZmatplotlib.projectionsrrZmatplotlib.scaler r!r"Z matplotlib.cmr#r$ZnumpyrUZmatplotlib.colorsr%Zmatplotlib.linesr&Zmatplotlib.textr'r(Zmatplotlib.patchesr)r*r+r,Zmatplotlib.widgetsr-r.r/r0Ztickerr2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDZmatplotlib.backendsrErF<00> getLoggerrGrzrWr[r^rar<>rQ<00>wrapsrb<00>copyrgrqr~r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>rfr<>r<>r<>r<>r<>r<>r<>r<>ror<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>rDZdedent_interpdr<64>r<>r<>r<>r<>r<>rrr r
rrrrrr"r#r&r'r(r+r)rIrKZ colorbar_docrOrRrPrSrTrVrYrp<00>dict<63> __getitem__<5F> __setitem__rprrrxryrzrr<>r<>r}r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>Z detrend_noneZwindow_hanningr<67>r<>r<>r<>r<>r<>r<>r<>r<>r<>Zmeanr<6E>r<>r<>r <00> deprecationZ_deprecated_parameterr r r rrrrrrr%rZr+r,r-r.r6r7r8r;r@rCrHr<>rSrbrerjrkrlrnrorurvryrzrWr{r|rkr~rirr<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>rJrJrJrK<00><module>s<>              T
5 
E

 <  * 
e   } =      %% L LDDv.
   4