úÎaî\‘i      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghNone 9:;T"zValues which can be combined together to form a matplotlib command. These specify how values are rendered in Python code.iThroughout the API we need to accept options in order to expose matplotlib's many configuration options.results in a=bJjust 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 commands 9A pending computation that is affected by applied options 0Computations 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 betweenA combinator like  that also inserts an optioniAn 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 option/  !"#$%&'()*+,-.(  !"#$%&'/ .-,+*)( !"#$%&'%   !"#$%&'()*+,-.5666None 45.Show a plot, blocks until the figure is closed6,Print the python code that would be executed7Save to a file8 Plot the a and b entries of the data object9Plot the Haskell objects x and y as a line:Show grid lines;?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.<Add a label to the x axis=Add a label to the y axis>Add a label to the z axis?Create a histogram for the a entry of the data array@+Plot a histogram for the given values with binsAPlot & show the histogramBBCreate a scatter plot accessing the given fields of the data arrayC'Plot the given values as a scatter plotD;Create a line accessing the given entires of the data arrayE Plot a lineFŽPlot 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.GCreate a 3D contourHCreate a 3D projectionIeGiven a grid of x and y values and a number of steps call the given function and plot the 3D contourJhGiven a grid of x and y values and a number of steps call the given function and plot the 3D projectionKEnable 3D projectionLBPlot a 3D wireframe accessing the given elements of the data arrayM@Plot a 3D surface accessing the given elements of the data arrayN=Plot a contour accessing the given elements of the data arrayO#Smallest element of a list of listsP"Largest element of a list of listsQfLabel and set limits of a set of 3D axis TODO This is a mess, does both more and less than it claims.R8Draw a bag graph in a subplot TODO Why do we need this?S-Create a subplot with the coordinates (r,c,f)T-Access a subplot with the coordinates (r,c,f)UThe default bar withV/Create a set of labelled bars of a given heightWBCreate a subplot and a set of labelled bars TODO This is a mess..X Add a titleY&Set the spacing of ticks on the x axisZSet the labels on the x axis[CUpdate the data array to linearly interpolate between array entries\+Plot x against y interpolating with n steps]%Square up the aspect ratio of a plot.^KSet the rotation of the labels on the x axis to the given number of degrees_Set the x labels to be vertical`!Set the x scale to be logarithmica!Set the y scale to be logarithmicbSet limits on the x axiscSet limits on the y axisdWA handy function to plot a line between two points give a function and a number o stepseIPlot a line between 0 and the length of the array with the given y valuesf Plot a matrixgNPlot a KDE of the given functions with an optional start/end and a bandwidth hhOPlot a KDE of the given functions; a good bandwith will be chosen automatically456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh? &'56789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh?56789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh &'456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijk'matplotlib-0.2.0-Km3j3dZ5tm7CUgvPYHQXR3Graphics.Matplotlib.InternalGraphics.Matplotlib MplotValuetoPythonOptionKP MplotCommandLoadDataExeces Matplotlib mpCommandsmpPendingOptionmpRest mapLineartoPyresolvePending withMplot mplotStringmpreadData%#optFnoptions## renderOptionsoptionFnoption@@defdefFnpython pyIncludes pyReadDatapyDetach pyOnscreenpyFigureo1o2$fMplotValue[]$fMplotValue(,)$fMplotValueInt$fMplotValueInteger$fMplotValueDouble$fMplotValue[]0$fMplotValue[]1$fShowMplotCommand$fEqMplotCommand$fOrdMplotCommand $fShowOption $fEqOption $fOrdOptiononscreencodefiguredataPlotplot gridLinesdateLinexLabelyLabelzLabel dataHistogram histogram showHistogram dataScatterscatterdataLinelinelineFcontour projectionscontourF projectionsFaxis3DProjection wireframesurface contourRawminimum2maximum2 axis3DLabelssubplotDataBar addSubplot mplotSubplotbarDefaultWidthsubplotBarsLabelled subplotBarstitleaxisXTickSpacingaxisXTickLabels interpolateplotInterpolated squareAxesroateAxesLabels verticalAxeslogXlogYxlimylim plotMapLinearline1matShowdensityBandwidthdensity