úÎ!Š%…?H      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGSafeòHIJKLMNO"(c) Laurent P René de Cotret, 2019MITlaurent.decotret@outlook.cominternalportableNone7DÖ, 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-pyplotIDots-per-inch of figure. This option only affects the Matplotlib backend. pandoc-pyplotRendering library.  pandoc-pyplot Enforce tight bounding-box with bbox_inches="tight"2. This option only affects the Matplotlib backend.  pandoc-pyplotTMake figure background transparent. This option only affects the Matplotlib backend.  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-pyplot•Generated 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-pyplot!Parse an image save format stringsaveFormatFromString ".png"Just PNGsaveFormatFromString "jpeg" Just JPEG SaveFormatFromString "arbitrary"Nothing8 pandoc-pyplotSave format file extension9 pandoc-pyplotmDefault interpreter should be Python 3, which has a different name on Windows ("python") vs Unix ("python3"):   ! "$#%('&)+*,-./0123456789#(c) Laurent P René de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable None=[š : pandoc-pyplotIDetermine inclusion specifications from Block attributes. Note that the  ".pyplot" OR .plotly; class is required, but all other parameters are optional.; 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.P 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.Q pandoc-pyplot¥Capture plot from Matplotlib Note that, especially for Windows, raw strings (r"...") must be used because path separators might be interpreted as escape charactersR 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 examplesS pandoc-pyplotReader options for captions.T pandoc-pyplot5Read a figure caption in Markdown format. LaTeX math $...$< is supported, as are Markdown subscripts and superscripts.U pandoc-pyplotFlexible boolean parsing> pandoc-pyplotPath where to save the figure pandoc-pyplotCode block with added capture  78:;<=>#(c) Laurent P René de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable NoneegV pandoc-pyplotEDetect the presence of a blocking show call, for example "plt.show()"W 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 Noner?X 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.A 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.B pandoc-pyplotaWrite a configuration to file. An exception will be raised in case the file would be overwritten. ./0123456AB#(c) Laurent P René de Cotret, 2019 MIT laurent.decotret@outlook.com  internal  portable NonesÿC   !"#$%&'()*+,-./0123456789:;<=>?@ABbAB6./012345  7;=<>:8?@./0123456-,)+*%('&"$#! 789   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`„SC pandoc-pyplotQMain routine to include Matplotlib plots. Code blocks containing the attributes .pyplotP are considered Python plotting scripts. All other possible blocks are ignored.D 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.E pandoc-pyplotlike makePlot# with with a custom default values.F pandoc-pyplotsWalk over an entire Pandoc document, changing appropriate code blocks into figures. Default configuration is used.G pandoc-pyplot|Walk over an entire Pandoc document, changing appropriate code blocks into figures. The default values are determined by a  Configuration.  !,ACDEFGDEFGA , !CY      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_,pandoc-pyplot-2.2.0.0-BU3m2WTXS6j2pUZ0YTPViA"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 inclusionKeyssaveFormatFromString extensiondefaultPlatformInterpreterparseFigureSpectoImage figurePathsourceCodePathaddPlotCapturerunTempPythonScriptrunScriptIfNecessary configuration writeConfig makePlot'makePlotmakePlotWithConfig plotTransformplotTransformWithConfigversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNamehiresFigurePathcaptureMatplotlib capturePlotly readerOptions captionReaderreadBoolcheckBlockingShowCall scriptChecksConfigPrecursor