!fb_<      !"#$%&'()*+,-./0123456789:;SafeV<=>?@ABC"(c) Laurent P Ren de Cotret, 2019MITlaurent.decotret@outlook.cominternalportableNone" pandoc-pyplot@Datatype containing all parameters required to run pandoc-pyplot 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-pyplotAttributes not related to  pandoc-pyplot will be propagated.  pandoc-pyplotPConfiguration 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-pyplot6The default dots-per-inch value for generated figures. 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-pyplot9Generated figure file format supported by pandoc-pyplot.  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-pyplot(String representation of a Python script% pandoc-pyplot!Parse an image save format stringsaveFormatFromString ".png"Just PNGsaveFormatFromString "jpeg" Just JPEG SaveFormatFromString "arbitrary"Nothing& pandoc-pyplotSave format file extension' pandoc-pyplotnDefault interpreter should be Python 3, which has a different name on Windows ("python") vs Unix ("python3")(   #"!$%&'#(c) Laurent P Ren de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable None.qD pandoc-pyplot5Read a figure caption in Markdown format. LaTeX math $...$< is supported, as are Markdown subscripts and superscripts.( pandoc-pyplot0Convert a FigureSpec to a Pandoc block component) pandoc-pyplot(Determine the path a figure should have.* pandoc-pyplot@Determine the path to the source code that generated the figure.E 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.+ pandoc-pyplotPath where to save the figure pandoc-pyplotCode block with added capture%&()*+#(c) Laurent P Ren de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable None9F pandoc-pyplotEDetect the presence of a blocking show call, for example "plt.show()"G 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-pyplot)Interpreter (e.g. "python" or "python35") pandoc-pyplotCommand-line flags pandoc-pyplotContent of the script pandoc-pyplotResult.,-#(c) Laurent P Ren de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable NoneL" . 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-pyplot*list of all keys related to pandoc-pyplot.5 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.6 pandoc-pyplotaWrite a configuration to file. An exception will be raised in case the file would be overwritten. ./0123456#(c) Laurent P Ren de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable NoneM7   !"#$%&'()*+,-./0123456J564./0123%(*)+&,-$ #"!%&'  ;Pandoc filter to create Matplotlib figures from code blocks#(c) Laurent P Ren de Cotret, 2019 MIT laurent.decotret@outlook.com stable  portable None`aH pandoc-pyplot-Code block class that will trigger the filterI pandoc-pyplotFlexible boolean parsingJ pandoc-pyplotIDetermine inclusion specifications from Block attributes. Note that the  ".pyplot"9 class is required, but all other parameters are optional7 pandoc-pyplotQMain routine to include Matplotlib plots. Code blocks containing the attributes .pyplotP are considered Python plotting scripts. All other possible blocks are ignored.8 pandoc-pyplot]Highest-level function that can be walked over a Pandoc tree. All code blocks that have the  '.pyplot'' parameter will be considered figures.9 pandoc-pyplotlike makePlot# with with a custom default values.: pandoc-pyplotsWalk over an entire Pandoc document, changing appropriate code blocks into figures. Default configuration is used.; pandoc-pyplot|Walk over an entire Pandoc document, changing appropriate code blocks into figures. The default values are determined by a  Configuration.  $5789:;89:;5  $7K      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQ,pandoc-pyplot-2.1.3.0-HmW4EhqpuAK2O30KW57hGb"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 blockAttrs ConfigurationdefaultDirectorydefaultIncludeScriptdefaultWithLinksdefaultSaveFormat defaultDPI interpreterflags SaveFormatPNGPDFSVGJPGEPSGIFTIFPandocPyplotError ScriptErrorScriptChecksFailedError CheckResult CheckPassed CheckFailed ScriptResult ScriptSuccessScriptChecksFailed ScriptFailure PythonScriptsaveFormatFromString extensiondefaultPlatformInterpretertoImage figurePathsourceCodePathaddPlotCapturerunTempPythonScriptrunScriptIfNecessary directoryKey captionKeydpiKeyincludePathKey saveFormatKey withLinksKey inclusionKeys configuration writeConfig makePlot'makePlotmakePlotWithConfig plotTransformplotTransformWithConfigversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName captionReaderhiresFigurePathcheckBlockingShowCall scriptChecks filterClassreadBoolparseFigureSpec