!G      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFSafeGHIJKLMN"(c) Laurent P Ren de Cotret, 2019MITlaurent.decotret@outlook.cominternalportableNone7?+ pandoc-pyplotADatatype containing all parameters required to run pandoc-pyplot.It is assumed that once a  FigureSpec? has been created, no configuration can overload it; hence, a  FigureSpec( completely encodes a particular figure. pandoc-pyplotFigure caption. pandoc-pyplot;Append links to source code and high-dpi figure to caption. pandoc-pyplotSource code for the figure. pandoc-pyplotSave format of the figure. pandoc-pyplot!Directory where to save the file. pandoc-pyplotDots-per-inch of figure. pandoc-pyplotRendering library.  pandoc-pyplot Enforce tight bounding-box with bbox_inches="tight".  pandoc-pyplot#Make figure background transparent.  pandoc-pyplotAttributes not related to  pandoc-pyplot will be propagated.  pandoc-pyplotOConfiguration of pandoc-pyplot, describing the default behavior of the filter.eA Configuration is useful when dealing with lots of figures; it avoids repeating the same values.sta pandoc-pyplot2The default directory where figures will be saved. pandoc-pyplot4The default script to run before other instructions. pandoc-pyplotSThe default behavior of whether or not to include links to source code and high-res pandoc-pyplot-The default save format of generated figures. pandoc-pyplotZThe default dots-per-inch value for generated figures. Matplotlib only, ignored otherwise. pandoc-pyplot)Whether the figures should be saved with bbox_inches="tight"U or not. Useful for larger figures with subplots. Matplotlib only, ignored otherwise. pandoc-pyplotxIf True, figures will be saved with transparent background rather than solid color. .Matplotlib only, ignored otherwise. pandoc-pyplot5The name of the interpreter to use to render figures. pandoc-pyplotRCommand-line flags to be passed to the Python interpreger, e.g. ["-O", "-Wignore"] pandoc-pyplotGenerated figure file format supported by pandoc-pyplot. Note: all formats are supported by Matplotlib, but not all formats are supported by Plotly pandoc-pyplot&Possible errors returned by the filter  pandoc-pyplot*Running Python script has yielded an error! pandoc-pyplot%Python script did not pass all checks" pandoc-pyplot'Result of checking scripts for problems% pandoc-pyplot*Possible result of running a Python script) pandoc-pyplotRendering library* pandoc-pyplotIRendering via the Matplotlib library. This library has the most features.+ pandoc-pyplot!Rendering via the Plotly library., pandoc-pyplot(String representation of a Python script- pandoc-pyplot0Monad in which to run pandoc-pyplot computations. pandoc-pyplotcKeys that pandoc-pyplot will look for in code blocks. These are only exported for testing purposes./ pandoc-pyplotcKeys that pandoc-pyplot will look for in code blocks. These are only exported for testing purposes.0 pandoc-pyplotcKeys that pandoc-pyplot will look for in code blocks. These are only exported for testing purposes.1 pandoc-pyplotcKeys that pandoc-pyplot will look for in code blocks. These are only exported for testing purposes.2 pandoc-pyplotcKeys that pandoc-pyplot will look for in code blocks. These are only exported for testing purposes.3 pandoc-pyplotcKeys that pandoc-pyplot will look for in code blocks. These are only exported for testing purposes.4 pandoc-pyplotcKeys that pandoc-pyplot will look for in code blocks. These are only exported for testing purposes.5 pandoc-pyplotcKeys that pandoc-pyplot will look for in code blocks. These are only exported for testing purposes.6 pandoc-pyplotTlist of all keys related to pandoc-pyplot that can be specified in source material.7 pandoc-pyplotSave format file extension8 pandoc-pyplotmDefault interpreter should be Python 3, which has a different name on Windows ("python") vs Unix ("python3")9   ! "$#%('&)+*,-./012345678#(c) Laurent P Ren de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable NoneXA 9 pandoc-pyplot(Determine inclusion specifications from Block attributes. Note that the  ".pyplot" OR .plotly; class is required, but all other parameters are optional.: pandoc-pyplot Convert a  FigureSpect to a Pandoc block component. Note that the script to generate figure files must still be run in another function.; pandoc-pyplot(Determine the path a figure should have.< pandoc-pyplot@Determine the path to the source code that generated the figure.O pandoc-pyplot'The path to the high-resolution figure.= pandoc-pyplotlModify a Python plotting script to save the figure to a filename. An additional file will also be captured.P pandoc-pyplotCapture plot from Matplotlib Note that, especially for Windows, raw strings (r"...") must be used because path separators might be interpreted as escape charactersQ pandoc-pyplotCapture Plotly figure)We are trying to emulate the behavior of matplotlib.pyplot.savefig{ which knows the "current figure". This saves us from contraining users to always have the same Plotly figure name, e.g. fig in all examples on plot.lyR pandoc-pyplotReader options for captions.S pandoc-pyplot5Read a figure caption in Markdown format. LaTeX math $...$< is supported, as are Markdown subscripts and superscripts.T pandoc-pyplotFlexible boolean parsing= pandoc-pyplotPath where to save the figure pandoc-pyplotCode block with added capture  79:;<=#(c) Laurent P Ren de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable Noneb U pandoc-pyplotEDetect the presence of a blocking show call, for example "plt.show()"V pandoc-pyplotkList of all script checks This might be overkill right now but extension to other languages will be easier> pandoc-pyplotYTake a python script in string form, write it in a temporary directory, then execute it.? pandoc-pyplotlRun the Python script. In case the file already exists, we can safely assume there is no need to re-run it.> pandoc-pyplotContent of the script pandoc-pyplotResult.>?#(c) Laurent P Ren de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable NonenW pandoc-pyplotA  Configuration> cannot be directly created from a YAML file for two reasons:rwe want to store an include script. However, it makes more sense to specify the script path in a YAML file.HSave format is best specified by a string, and this must be parsed laterbTherefore, we have another type, ConfigPrecursor, which CAN be created directly from a YAML file.@ pandoc-pyplotdBuilding configuration from a YAML file. The keys are exactly the same as for Markdown code blocks.ZIf a key is either not present or unreadable, its value will be set to the default value.A pandoc-pyplotaWrite a configuration to file. An exception will be raised in case the file would be overwritten. ./0123456@A#(c) Laurent P Ren de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable NonepB   !"#$%&'()*+,-./0123456789:;<=>?@A`@A6./012345  :<;=97>?./0123456-,)+*%('&"$#! 78   BPandoc filter to create Matplotlib/Plotly figures from code blocks#(c) Laurent P Ren de Cotret, 2019 MIT laurent.decotret@outlook.com stable  portable None` B pandoc-pyplotFMain routine to include plots. Code blocks containing the attributes .pyplot or .plotlyP are considered Python plotting scripts. All other possible blocks are ignored.C pandoc-pyplot]Highest-level function that can be walked over a Pandoc tree. All code blocks that have the .pyplot / .plotly# class will be considered figures.D pandoc-pyplotlike makePlot# with with a custom default values.E pandoc-pyplotsWalk over an entire Pandoc document, changing appropriate code blocks into figures. Default configuration is used.F pandoc-pyplot|Walk over an entire Pandoc document, changing appropriate code blocks into figures. The default values are determined by a  Configuration.  !,@BCDEFCDEF@ , !BX      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^,pandoc-pyplot-2.3.0.0-CkGobOVzZYZDoAJCMsLJ8I"Text.Pandoc.Filter.Pyplot.InternalText.Pandoc.Filter.PyplotPaths_pandoc_pyplotText.Pandoc.Filter.Pyplot.Types$Text.Pandoc.Filter.Pyplot.FigureSpec#Text.Pandoc.Filter.Pyplot.Scripting'Text.Pandoc.Filter.Pyplot.Configuration FigureSpeccaption withLinksscript saveFormat directorydpi renderingLib tightBbox transparent blockAttrs ConfigurationdefaultDirectorydefaultIncludeScriptdefaultWithLinksdefaultSaveFormat defaultDPI isTightBbox isTransparent interpreterflags SaveFormatPNGPDFSVGJPGEPSGIFTIFPandocPyplotError ScriptErrorScriptChecksFailedError CheckResult CheckPassed CheckFailed ScriptResult ScriptSuccessScriptChecksFailed ScriptFailureRenderingLibrary MatplotlibPlotly PythonScriptPyplotM directoryKey captionKeydpiKeyincludePathKey saveFormatKey withLinksKeyisTightBboxKeyisTransparentKey inclusionKeys extensiondefaultPlatformInterpreterparseFigureSpectoImage figurePathsourceCodePathaddPlotCapturerunTempPythonScriptrunScriptIfNecessary configuration writeConfig makePlot'makePlotmakePlotWithConfig plotTransformplotTransformWithConfigversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNamehiresFigurePathcaptureMatplotlib capturePlotly readerOptions captionReaderreadBoolcheckBlockingShowCall scriptChecksConfigPrecursor