úÎ!hÄd¢=      !"#$%&'()*+,-./0123456789:;<Safec=>?@ABCD"(c) Laurent P René de Cotret, 2019MITlaurent.decotret@outlook.cominternalportableNone%@ pandoc-pyplotBDatatype 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-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 None8\ ( 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.* 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., 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.. pandoc-pyplot*list of all keys related to pandoc-pyplot./ 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.0 pandoc-pyplotaWrite a configuration to file. An exception will be raised in case the file would be overwritten. ()*+,-./0#(c) Laurent P René de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable NoneGI 1 pandoc-pyplotIDetermine inclusion specifications from Block attributes. Note that the  ".pyplot"9 class is required, but all other parameters are optional2 pandoc-pyplot0Convert a FigureSpec to a Pandoc block component3 pandoc-pyplot(Determine the path a figure should have.4 pandoc-pyplot@Determine the path to the source code that generated the figure.E pandoc-pyplot'The path to the high-resolution figure.5 pandoc-pyplotlModify a Python plotting script to save the figure to a filename. An additional file will also be captured.F pandoc-pyplotReader options for captions.G pandoc-pyplot5Read a figure caption in Markdown format. LaTeX math $...$< is supported, as are Markdown subscripts and superscripts.H pandoc-pyplotFlexible boolean parsing5 pandoc-pyplotPath where to save the figure pandoc-pyplotCode block with added capture%&12345#(c) Laurent P René de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable NoneRzI pandoc-pyplotEDetect the presence of a blocking show call, for example "plt.show()"J pandoc-pyplotkList of all script checks This might be overkill right now but extension to other languages will be easier6 pandoc-pyplotYTake a python script in string form, write it in a temporary directory, then execute it.7 pandoc-pyplotlRun the Python script. In case the file already exists, we can safely assume there is no need to re-run it.6 pandoc-pyplot)Interpreter (e.g. "python" or "python35") pandoc-pyplotCommand-line flags pandoc-pyplotContent of the script pandoc-pyplotResult.67#(c) Laurent P René de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable NoneT8   !"#$%&'()*+,-./01234567K/0.()*+,-%24351&67$ #"!%&'  ;Pandoc filter to create Matplotlib figures from code blocks#(c) Laurent P René de Cotret, 2019 MIT laurent.decotret@outlook.com stable  portable None`cÆ8 pandoc-pyplotQMain routine to include Matplotlib plots. Code blocks containing the attributes .pyplotP are considered Python plotting scripts. All other possible blocks are ignored.9 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.: 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.  $/89:;<9:;</  $8K      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQ,pandoc-pyplot-2.1.4.0-GKlBd1z2DGK33OxyfJAsgO"Text.Pandoc.Filter.Pyplot.InternalText.Pandoc.Filter.PyplotPaths_pandoc_pyplotText.Pandoc.Filter.Pyplot.Types'Text.Pandoc.Filter.Pyplot.Configuration$Text.Pandoc.Filter.Pyplot.FigureSpec#Text.Pandoc.Filter.Pyplot.Scripting FigureSpeccaption withLinksscript saveFormat directorydpi blockAttrs ConfigurationdefaultDirectorydefaultIncludeScriptdefaultWithLinksdefaultSaveFormat defaultDPI interpreterflags SaveFormatPNGPDFSVGJPGEPSGIFTIFPandocPyplotError ScriptErrorScriptChecksFailedError CheckResult CheckPassed CheckFailed ScriptResult ScriptSuccessScriptChecksFailed ScriptFailure PythonScriptsaveFormatFromString extensiondefaultPlatformInterpreter directoryKey captionKeydpiKeyincludePathKey saveFormatKey withLinksKey inclusionKeys configuration writeConfigparseFigureSpectoImage figurePathsourceCodePathaddPlotCapturerunTempPythonScriptrunScriptIfNecessary makePlot'makePlotmakePlotWithConfig plotTransformplotTransformWithConfigversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNamehiresFigurePath readerOptions captionReaderreadBoolcheckBlockingShowCall scriptChecks