!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None 9:;T.zValues which can be combined together to form a matplotlib command. These specify how values are rendered in Python code.$Render a value inline in Python code6Render a value as an optional parameter in Python codeuA string to be rendered in python as a raw literal/code. In other words it is inserted directly as is into the code.VA string to be rendered in python as a raw string. In other words it is rendered as r0.QA string to be rendered in python as a string. In other words it is rendered as 0. iThroughout the API we need to accept options in order to expose matplotlib's many configuration options. results in a=b Jjust inserts the option verbatim as an argument at the end of the function A maplotlib command, right now we have a very shallow embedding essentially dealing in strings containing python code as well as the ability to load data. The loaded data should be a json object..The wrapper type for a matplotlib computation.<Resolved computations that have been transformed to commands9A pending computation that is affected by applied options0Computations that follow the one that is pendingaA handy miscellaneous function to linearly map over a range of numbers in a given number of steps Convert an  * to python code, doesn't do much right now5Resolve the pending command with no options provided.The io action is given a list of python commands to execute (note that these are commands in the sense of lines of python code; each inidivudal line may not be parseable on its own5Create a plot that executes the string as python codeCCreate an empty plot. This the beginning of most plotting commands.Load the given data into the 'data' arrayCombine two matplotlib commands.Add Python code to the last matplotlib commandsAdd an option to the last matplotlib command. Commands can have only one option! optFn :: Matplotlib -> Matplotlib'Merge two commands with options between A combinator like  that also inserts an option!iAn internal helper to convert a list of options to the python code that applies those options in a call."7An internal helper that modifies the options of a plot.#@Apply a list of options to a plot resolving any pending options.$A combinator for #) that applies a list of options to a plot%Bind a list of default options to a plot. Positional options are kept in order and default that way as well. Keyword arguments are'Run python given a code string.)*The standard python includes of every plot*FThe python command that reads external data into the python data array+BDetach python so we don't block (TODO This isn't working reliably),Python code to show a plot-Python code that saves a figure.Create a positional option/Create a keyword option08Create a string that will be rendered as a python string1<Create a string that will be rendered as a raw python string2ACreate a literal that will inserted into the python code directly3<Update axes. Should be called any time the state is changed.4OUpdate the figure and the axes. Should be called any time the state is changed.5#Smallest element of a list of lists6"Largest element of a list of listsI  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGH7  !"#$%&'()*+,-./0123456I  HGFEDCBA@?>=<;:987 !"#$%&'()*+,-./0123456;    !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGH56 6$6None GX.Show a plot, blocks until the figure is closedY,Print the python code that would be executedZSave to a file[Plot the cross-correlation and autocorrelation of several variables. TODO Due to a limitation in the options mechanism this takes explicit options.\+Plot a histogram for the given values with bins].Plot a 2D histogram for the given values with bins^'Plot the given values as a scatter plot_ Plot a line`Like p but takes an error bar value per point errorbar :: (ToJSON x, ToJSON y, ToJSON xs, ToJSON ys) => x -> y -> Maybe xs -> Maybe ys -> MatplotlibaPlot a line given a function that will be executed for each element of given list. The list provides the x values, the function the y values.b$Create a box plot for the given datac'Create a violin plot for the given datadeGiven a grid of x and y values and a number of steps call the given function and plot the 3D contourehGiven a grid of x and y values and a number of steps call the given function and plot the 3D projectionf+Plot x against y interpolating with n stepsgWA handy function to plot a line between two points give a function and a number o stepshIPlot a line between 0 and the length of the array with the given y valuesi Plot a matrixj Plot a matrixkOPlot a KDE of the given functions; a good bandwith will be chosen automaticallylSet an rcParams key-valuemEnable or disable TeXnEnable or disable unicodeo Plot the a and b entries of the data objectpPlot the Haskell objects x and y as a lineq?Plot x against y where x is a date. xunit is something like weeks, yearStart, monthStart, dayStart are an offset to x. TODO This isn't general enough; it's missing some settings about the format. The call is also a mess.rCreate a histogram for the a entry of the data arraysBCreate a scatter plot accessing the given fields of the data arrayt;Create a line accessing the given entires of the data arrayuCreate a 3D contourvCreate a 3D projectionwBPlot a 3D wireframe accessing the given elements of the data arrayx@Plot a 3D surface accessing the given elements of the data arrayy=Plot a contour accessing the given elements of the data arrayz8Draw a bag graph in a subplot TODO Why do we need this?{The default bar with|/Create a set of labelled bars of a given height}BCreate a subplot and a set of labelled bars TODO This is a mess..~CUpdate the data array to linearly interpolate between array entriesNPlot a KDE of the given functions with an optional start/end and a bandwidth hPlot cross-correlationPlot auto-correlation!Plot text at a specified location%Square up the aspect ratio of a plot.%Square up the aspect ratio of a plot.KSet the rotation of the labels on the x axis to the given number of degreesSet the x labels to be vertical!Set the x scale to be logarithmic!Set the y scale to be logarithmicSet limits on the x axisSet limits on the y axis%Add a horizontal line across the axisInsert a legendcInsert a color bar TODO This refers to the plot and not an axis. Might cause trouble with subplots Add a titleShow/hide grid linesEnable 3D projectionfLabel and set limits of a set of 3D axis TODO This is a mess, does both more and less than it claims.Add a label to the x axisAdd a label to the y axisAdd a label to the z axis&Set the spacing of ticks on the x axisSet the labels on the x axis&Set the spacing of ticks on the y axisSet the labels on the y axis-Create a subplot with the coordinates (r,c,f)-Access a subplot with the coordinates (r,c,f)8Creates subplots and stores them in an internal variableAccess a subplotAdd axes to a figure`Creates a new figure with the given id. If the Id is already in use it switches to that figure.XXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~i  $%./01234XYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~iXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ $./ %01234XXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'matplotlib-0.4.0-JbRVZ91fl7h8il1nDujREOGraphics.Matplotlib.InternalGraphics.Matplotlib MplotValuetoPython toPythonOptLRSOptionKP MplotCommandLoadDataExeces Matplotlib mpCommandsmpPendingOptionmpRest mapLineartoPyresolvePending withMplot mplotStringmpreadData%#optFnoptions## renderOptionsoptionFnoption@@defdefFnpython pyBackend pyIncludes pyReadDatapyDetach pyOnscreenpyFigureo1o2strrawlit updateAxes updateFigureminimum2maximum2$fMplotValueMaybe$fMplotValue[]$fMplotValue(,)$fMplotValueBool$fMplotValue[]0$fMplotValue[]1$fMplotValue[]2$fMplotValue[]3$fMplotValueInt$fMplotValue[]4$fMplotValueInteger$fMplotValue[]5$fMplotValueDouble$fMplotValue[]6$fMplotValue[]7 $fMplotValueL $fMplotValueR $fMplotValueS$fShowMplotCommand$fEqMplotCommand$fOrdMplotCommand $fShowOption $fEqOption $fOrdOption$fShowS$fEqS$fOrdS$fShowR$fEqR$fOrdR$fShowL$fEqL$fOrdLonscreencodefilexacorr histogram histogram2DscatterlineerrorbarlineFboxplot violinplotcontourF projectionsFplotInterpolated plotMapLinearline1matShowpcolordensity setParametersetTeX setUnicodedataPlotplotdateLine dataHistogram dataScatterdataLinecontour projections wireframesurface contourRawsubplotDataBarbarDefaultWidthsubplotBarsLabelled subplotBars interpolatedensityBandwidthxcorracorrtextfigText setAspect squareAxesroateAxesLabels verticalAxeslogXlogYxlimylimaxhlinelegendcolorbartitlegridaxis3DProjection axis3DLabelsxLabelyLabelzLabel setSizeInches tightLayoutxkcdxticksytickszticks xtickLabels ytickLabels ztickLabelsaxisXTickSpacingaxisXTickLabelsaxisYTickSpacingaxisYTickLabelsaxisXTicksPositionaxisYTicksPositionspinespineSetBoundsspineSetVisiblespineSetPositionsetAx addSubplot getSubplotsubplots setSubplotaxesfigure