Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/kpsewhich.lua +3 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/matplotlibrc +813 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/plot_directive/plot_directive.css +16 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/Minduka_Present_Blue_Pack.png +3 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/README.txt +2 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/Stocks.csv +526 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/data_x_x2_x3.csv +11 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/eeg.dat +0 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/embedding_in_wx3.xrc +65 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/logo2.png +3 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/membrane.dat +0 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/msft.csv +66 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/s1045.ima.gz +3 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle +53 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/_mpl-gallery.mplstyle +19 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/fast.mplstyle +11 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle +37 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/grayscale.mplstyle +29 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/petroff10.mplstyle +5 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-colorblind.mplstyle +3 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-dark-palette.mplstyle +3 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-darkgrid.mplstyle +30 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-deep.mplstyle +3 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-muted.mplstyle +3 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-notebook.mplstyle +21 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-paper.mplstyle +21 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-pastel.mplstyle +3 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-talk.mplstyle +21 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-ticks.mplstyle +30 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-white.mplstyle +30 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8.mplstyle +57 -0
- mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/tableau-colorblind10.mplstyle +3 -0
- mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__init__.py +0 -0
- mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__pycache__/__init__.cpython-310.pyc +0 -0
- mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__pycache__/figmpl_directive.cpython-310.pyc +0 -0
- mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__pycache__/mathmpl.cpython-310.pyc +0 -0
- mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__pycache__/plot_directive.cpython-310.pyc +0 -0
- mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__pycache__/roles.cpython-310.pyc +0 -0
- mgm/lib/python3.10/site-packages/matplotlib/sphinxext/figmpl_directive.py +288 -0
- mgm/lib/python3.10/site-packages/matplotlib/sphinxext/mathmpl.py +239 -0
- mgm/lib/python3.10/site-packages/matplotlib/sphinxext/plot_directive.py +933 -0
- mgm/lib/python3.10/site-packages/matplotlib/sphinxext/roles.py +147 -0
- mgm/lib/python3.10/site-packages/matplotlib/tests/__pycache__/test_constrainedlayout.cpython-310.pyc +0 -0
- wemm/share/terminfo/t/t3800 +0 -0
- wemm/share/terminfo/t/tek4014-sm +0 -0
- wemm/share/terminfo/t/tek4015-sm +0 -0
- wemm/share/terminfo/t/tek4025 +0 -0
- wemm/share/terminfo/t/tek4106brl +0 -0
- wemm/share/terminfo/t/tek4107 +0 -0
- wemm/share/terminfo/t/tek4113-nd +0 -0
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/kpsewhich.lua
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-- see dviread._LuatexKpsewhich
|
| 2 |
+
kpse.set_program_name("latex")
|
| 3 |
+
while true do print(kpse.lookup(io.read():gsub("\r", ""))); io.flush(); end
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/matplotlibrc
ADDED
|
@@ -0,0 +1,813 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### MATPLOTLIBRC FORMAT
|
| 2 |
+
|
| 3 |
+
## NOTE FOR END USERS: DO NOT EDIT THIS FILE!
|
| 4 |
+
##
|
| 5 |
+
## This is a sample Matplotlib configuration file - you can find a copy
|
| 6 |
+
## of it on your system in site-packages/matplotlib/mpl-data/matplotlibrc
|
| 7 |
+
## (relative to your Python installation location).
|
| 8 |
+
## DO NOT EDIT IT!
|
| 9 |
+
##
|
| 10 |
+
## If you wish to change your default style, copy this file to one of the
|
| 11 |
+
## following locations:
|
| 12 |
+
## Unix/Linux:
|
| 13 |
+
## $HOME/.config/matplotlib/matplotlibrc OR
|
| 14 |
+
## $XDG_CONFIG_HOME/matplotlib/matplotlibrc (if $XDG_CONFIG_HOME is set)
|
| 15 |
+
## Other platforms:
|
| 16 |
+
## $HOME/.matplotlib/matplotlibrc
|
| 17 |
+
## and edit that copy.
|
| 18 |
+
##
|
| 19 |
+
## See https://matplotlib.org/stable/users/explain/customizing.html#customizing-with-matplotlibrc-files
|
| 20 |
+
## for more details on the paths which are checked for the configuration file.
|
| 21 |
+
##
|
| 22 |
+
## Blank lines, or lines starting with a comment symbol, are ignored, as are
|
| 23 |
+
## trailing comments. Other lines must have the format:
|
| 24 |
+
## key: val # optional comment
|
| 25 |
+
##
|
| 26 |
+
## Formatting: Use PEP8-like style (as enforced in the rest of the codebase).
|
| 27 |
+
## All lines start with an additional '#', so that removing all leading '#'s
|
| 28 |
+
## yields a valid style file.
|
| 29 |
+
##
|
| 30 |
+
## Colors: for the color values below, you can either use
|
| 31 |
+
## - a Matplotlib color string, such as r, k, or b
|
| 32 |
+
## - an RGB tuple, such as (1.0, 0.5, 0.0)
|
| 33 |
+
## - a double-quoted hex string, such as "#ff00ff".
|
| 34 |
+
## The unquoted string ff00ff is also supported for backward
|
| 35 |
+
## compatibility, but is discouraged.
|
| 36 |
+
## - a scalar grayscale intensity such as 0.75
|
| 37 |
+
## - a legal html color name, e.g., red, blue, darkslategray
|
| 38 |
+
##
|
| 39 |
+
## String values may optionally be enclosed in double quotes, which allows
|
| 40 |
+
## using the comment character # in the string.
|
| 41 |
+
##
|
| 42 |
+
## This file (and other style files) must be encoded as utf-8.
|
| 43 |
+
##
|
| 44 |
+
## Matplotlib configuration are currently divided into following parts:
|
| 45 |
+
## - BACKENDS
|
| 46 |
+
## - LINES
|
| 47 |
+
## - PATCHES
|
| 48 |
+
## - HATCHES
|
| 49 |
+
## - BOXPLOT
|
| 50 |
+
## - FONT
|
| 51 |
+
## - TEXT
|
| 52 |
+
## - LaTeX
|
| 53 |
+
## - AXES
|
| 54 |
+
## - DATES
|
| 55 |
+
## - TICKS
|
| 56 |
+
## - GRIDS
|
| 57 |
+
## - LEGEND
|
| 58 |
+
## - FIGURE
|
| 59 |
+
## - IMAGES
|
| 60 |
+
## - CONTOUR PLOTS
|
| 61 |
+
## - ERRORBAR PLOTS
|
| 62 |
+
## - HISTOGRAM PLOTS
|
| 63 |
+
## - SCATTER PLOTS
|
| 64 |
+
## - AGG RENDERING
|
| 65 |
+
## - PATHS
|
| 66 |
+
## - SAVING FIGURES
|
| 67 |
+
## - INTERACTIVE KEYMAPS
|
| 68 |
+
## - ANIMATION
|
| 69 |
+
|
| 70 |
+
##### CONFIGURATION BEGINS HERE
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
## ***************************************************************************
|
| 74 |
+
## * BACKENDS *
|
| 75 |
+
## ***************************************************************************
|
| 76 |
+
## The default backend. If you omit this parameter, the first working
|
| 77 |
+
## backend from the following list is used:
|
| 78 |
+
## MacOSX QtAgg Gtk4Agg Gtk3Agg TkAgg WxAgg Agg
|
| 79 |
+
## Other choices include:
|
| 80 |
+
## QtCairo GTK4Cairo GTK3Cairo TkCairo WxCairo Cairo
|
| 81 |
+
## Qt5Agg Qt5Cairo Wx # deprecated.
|
| 82 |
+
## PS PDF SVG Template
|
| 83 |
+
## You can also deploy your own backend outside of Matplotlib by referring to
|
| 84 |
+
## the module name (which must be in the PYTHONPATH) as 'module://my_backend'.
|
| 85 |
+
##backend: Agg
|
| 86 |
+
|
| 87 |
+
## The port to use for the web server in the WebAgg backend.
|
| 88 |
+
#webagg.port: 8988
|
| 89 |
+
|
| 90 |
+
## The address on which the WebAgg web server should be reachable
|
| 91 |
+
#webagg.address: 127.0.0.1
|
| 92 |
+
|
| 93 |
+
## If webagg.port is unavailable, a number of other random ports will
|
| 94 |
+
## be tried until one that is available is found.
|
| 95 |
+
#webagg.port_retries: 50
|
| 96 |
+
|
| 97 |
+
## When True, open the web browser to the plot that is shown
|
| 98 |
+
#webagg.open_in_browser: True
|
| 99 |
+
|
| 100 |
+
## If you are running pyplot inside a GUI and your backend choice
|
| 101 |
+
## conflicts, we will automatically try to find a compatible one for
|
| 102 |
+
## you if backend_fallback is True
|
| 103 |
+
#backend_fallback: True
|
| 104 |
+
|
| 105 |
+
#interactive: False
|
| 106 |
+
#figure.hooks: # list of dotted.module.name:dotted.callable.name
|
| 107 |
+
#toolbar: toolbar2 # {None, toolbar2, toolmanager}
|
| 108 |
+
#timezone: UTC # a pytz timezone string, e.g., US/Central or Europe/Paris
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
## ***************************************************************************
|
| 112 |
+
## * LINES *
|
| 113 |
+
## ***************************************************************************
|
| 114 |
+
## See https://matplotlib.org/stable/api/artist_api.html#module-matplotlib.lines
|
| 115 |
+
## for more information on line properties.
|
| 116 |
+
#lines.linewidth: 1.5 # line width in points
|
| 117 |
+
#lines.linestyle: - # solid line
|
| 118 |
+
#lines.color: C0 # has no affect on plot(); see axes.prop_cycle
|
| 119 |
+
#lines.marker: None # the default marker
|
| 120 |
+
#lines.markerfacecolor: auto # the default marker face color
|
| 121 |
+
#lines.markeredgecolor: auto # the default marker edge color
|
| 122 |
+
#lines.markeredgewidth: 1.0 # the line width around the marker symbol
|
| 123 |
+
#lines.markersize: 6 # marker size, in points
|
| 124 |
+
#lines.dash_joinstyle: round # {miter, round, bevel}
|
| 125 |
+
#lines.dash_capstyle: butt # {butt, round, projecting}
|
| 126 |
+
#lines.solid_joinstyle: round # {miter, round, bevel}
|
| 127 |
+
#lines.solid_capstyle: projecting # {butt, round, projecting}
|
| 128 |
+
#lines.antialiased: True # render lines in antialiased (no jaggies)
|
| 129 |
+
|
| 130 |
+
## The three standard dash patterns. These are scaled by the linewidth.
|
| 131 |
+
#lines.dashed_pattern: 3.7, 1.6
|
| 132 |
+
#lines.dashdot_pattern: 6.4, 1.6, 1, 1.6
|
| 133 |
+
#lines.dotted_pattern: 1, 1.65
|
| 134 |
+
#lines.scale_dashes: True
|
| 135 |
+
|
| 136 |
+
#markers.fillstyle: full # {full, left, right, bottom, top, none}
|
| 137 |
+
|
| 138 |
+
#pcolor.shading: auto
|
| 139 |
+
#pcolormesh.snap: True # Whether to snap the mesh to pixel boundaries. This is
|
| 140 |
+
# provided solely to allow old test images to remain
|
| 141 |
+
# unchanged. Set to False to obtain the previous behavior.
|
| 142 |
+
|
| 143 |
+
## ***************************************************************************
|
| 144 |
+
## * PATCHES *
|
| 145 |
+
## ***************************************************************************
|
| 146 |
+
## Patches are graphical objects that fill 2D space, like polygons or circles.
|
| 147 |
+
## See https://matplotlib.org/stable/api/artist_api.html#module-matplotlib.patches
|
| 148 |
+
## for more information on patch properties.
|
| 149 |
+
#patch.linewidth: 1.0 # edge width in points.
|
| 150 |
+
#patch.facecolor: C0
|
| 151 |
+
#patch.edgecolor: black # By default, Patches and Collections do not draw edges.
|
| 152 |
+
# This value is only used if facecolor is "none"
|
| 153 |
+
# (an Artist without facecolor and edgecolor would be
|
| 154 |
+
# invisible) or if patch.force_edgecolor is True.
|
| 155 |
+
#patch.force_edgecolor: False # By default, Patches and Collections do not draw edges.
|
| 156 |
+
# Set this to True to draw edges with patch.edgedcolor
|
| 157 |
+
# as the default edgecolor.
|
| 158 |
+
# This is mainly relevant for styles.
|
| 159 |
+
#patch.antialiased: True # render patches in antialiased (no jaggies)
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
## ***************************************************************************
|
| 163 |
+
## * HATCHES *
|
| 164 |
+
## ***************************************************************************
|
| 165 |
+
#hatch.color: black
|
| 166 |
+
#hatch.linewidth: 1.0
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
## ***************************************************************************
|
| 170 |
+
## * BOXPLOT *
|
| 171 |
+
## ***************************************************************************
|
| 172 |
+
#boxplot.notch: False
|
| 173 |
+
#boxplot.vertical: True
|
| 174 |
+
#boxplot.whiskers: 1.5
|
| 175 |
+
#boxplot.bootstrap: None
|
| 176 |
+
#boxplot.patchartist: False
|
| 177 |
+
#boxplot.showmeans: False
|
| 178 |
+
#boxplot.showcaps: True
|
| 179 |
+
#boxplot.showbox: True
|
| 180 |
+
#boxplot.showfliers: True
|
| 181 |
+
#boxplot.meanline: False
|
| 182 |
+
|
| 183 |
+
#boxplot.flierprops.color: black
|
| 184 |
+
#boxplot.flierprops.marker: o
|
| 185 |
+
#boxplot.flierprops.markerfacecolor: none
|
| 186 |
+
#boxplot.flierprops.markeredgecolor: black
|
| 187 |
+
#boxplot.flierprops.markeredgewidth: 1.0
|
| 188 |
+
#boxplot.flierprops.markersize: 6
|
| 189 |
+
#boxplot.flierprops.linestyle: none
|
| 190 |
+
#boxplot.flierprops.linewidth: 1.0
|
| 191 |
+
|
| 192 |
+
#boxplot.boxprops.color: black
|
| 193 |
+
#boxplot.boxprops.linewidth: 1.0
|
| 194 |
+
#boxplot.boxprops.linestyle: -
|
| 195 |
+
|
| 196 |
+
#boxplot.whiskerprops.color: black
|
| 197 |
+
#boxplot.whiskerprops.linewidth: 1.0
|
| 198 |
+
#boxplot.whiskerprops.linestyle: -
|
| 199 |
+
|
| 200 |
+
#boxplot.capprops.color: black
|
| 201 |
+
#boxplot.capprops.linewidth: 1.0
|
| 202 |
+
#boxplot.capprops.linestyle: -
|
| 203 |
+
|
| 204 |
+
#boxplot.medianprops.color: C1
|
| 205 |
+
#boxplot.medianprops.linewidth: 1.0
|
| 206 |
+
#boxplot.medianprops.linestyle: -
|
| 207 |
+
|
| 208 |
+
#boxplot.meanprops.color: C2
|
| 209 |
+
#boxplot.meanprops.marker: ^
|
| 210 |
+
#boxplot.meanprops.markerfacecolor: C2
|
| 211 |
+
#boxplot.meanprops.markeredgecolor: C2
|
| 212 |
+
#boxplot.meanprops.markersize: 6
|
| 213 |
+
#boxplot.meanprops.linestyle: --
|
| 214 |
+
#boxplot.meanprops.linewidth: 1.0
|
| 215 |
+
|
| 216 |
+
|
| 217 |
+
## ***************************************************************************
|
| 218 |
+
## * FONT *
|
| 219 |
+
## ***************************************************************************
|
| 220 |
+
## The font properties used by `text.Text`.
|
| 221 |
+
## See https://matplotlib.org/stable/api/font_manager_api.html for more information
|
| 222 |
+
## on font properties. The 6 font properties used for font matching are
|
| 223 |
+
## given below with their default values.
|
| 224 |
+
##
|
| 225 |
+
## The font.family property can take either a single or multiple entries of any
|
| 226 |
+
## combination of concrete font names (not supported when rendering text with
|
| 227 |
+
## usetex) or the following five generic values:
|
| 228 |
+
## - 'serif' (e.g., Times),
|
| 229 |
+
## - 'sans-serif' (e.g., Helvetica),
|
| 230 |
+
## - 'cursive' (e.g., Zapf-Chancery),
|
| 231 |
+
## - 'fantasy' (e.g., Western), and
|
| 232 |
+
## - 'monospace' (e.g., Courier).
|
| 233 |
+
## Each of these values has a corresponding default list of font names
|
| 234 |
+
## (font.serif, etc.); the first available font in the list is used. Note that
|
| 235 |
+
## for font.serif, font.sans-serif, and font.monospace, the first element of
|
| 236 |
+
## the list (a DejaVu font) will always be used because DejaVu is shipped with
|
| 237 |
+
## Matplotlib and is thus guaranteed to be available; the other entries are
|
| 238 |
+
## left as examples of other possible values.
|
| 239 |
+
##
|
| 240 |
+
## The font.style property has three values: normal (or roman), italic
|
| 241 |
+
## or oblique. The oblique style will be used for italic, if it is not
|
| 242 |
+
## present.
|
| 243 |
+
##
|
| 244 |
+
## The font.variant property has two values: normal or small-caps. For
|
| 245 |
+
## TrueType fonts, which are scalable fonts, small-caps is equivalent
|
| 246 |
+
## to using a font size of 'smaller', or about 83 % of the current font
|
| 247 |
+
## size.
|
| 248 |
+
##
|
| 249 |
+
## The font.weight property has effectively 13 values: normal, bold,
|
| 250 |
+
## bolder, lighter, 100, 200, 300, ..., 900. Normal is the same as
|
| 251 |
+
## 400, and bold is 700. bolder and lighter are relative values with
|
| 252 |
+
## respect to the current weight.
|
| 253 |
+
##
|
| 254 |
+
## The font.stretch property has 11 values: ultra-condensed,
|
| 255 |
+
## extra-condensed, condensed, semi-condensed, normal, semi-expanded,
|
| 256 |
+
## expanded, extra-expanded, ultra-expanded, wider, and narrower. This
|
| 257 |
+
## property is not currently implemented.
|
| 258 |
+
##
|
| 259 |
+
## The font.size property is the default font size for text, given in points.
|
| 260 |
+
## 10 pt is the standard value.
|
| 261 |
+
##
|
| 262 |
+
## Note that font.size controls default text sizes. To configure
|
| 263 |
+
## special text sizes tick labels, axes, labels, title, etc., see the rc
|
| 264 |
+
## settings for axes and ticks. Special text sizes can be defined
|
| 265 |
+
## relative to font.size, using the following values: xx-small, x-small,
|
| 266 |
+
## small, medium, large, x-large, xx-large, larger, or smaller
|
| 267 |
+
|
| 268 |
+
#font.family: sans-serif
|
| 269 |
+
#font.style: normal
|
| 270 |
+
#font.variant: normal
|
| 271 |
+
#font.weight: normal
|
| 272 |
+
#font.stretch: normal
|
| 273 |
+
#font.size: 10.0
|
| 274 |
+
|
| 275 |
+
#font.serif: DejaVu Serif, Bitstream Vera Serif, Computer Modern Roman, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif
|
| 276 |
+
#font.sans-serif: DejaVu Sans, Bitstream Vera Sans, Computer Modern Sans Serif, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
|
| 277 |
+
#font.cursive: Apple Chancery, Textile, Zapf Chancery, Sand, Script MT, Felipa, Comic Neue, Comic Sans MS, cursive
|
| 278 |
+
#font.fantasy: Chicago, Charcoal, Impact, Western, xkcd script, fantasy
|
| 279 |
+
#font.monospace: DejaVu Sans Mono, Bitstream Vera Sans Mono, Computer Modern Typewriter, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace
|
| 280 |
+
|
| 281 |
+
|
| 282 |
+
## ***************************************************************************
|
| 283 |
+
## * TEXT *
|
| 284 |
+
## ***************************************************************************
|
| 285 |
+
## The text properties used by `text.Text`.
|
| 286 |
+
## See https://matplotlib.org/stable/api/artist_api.html#module-matplotlib.text
|
| 287 |
+
## for more information on text properties
|
| 288 |
+
#text.color: black
|
| 289 |
+
|
| 290 |
+
## FreeType hinting flag ("foo" corresponds to FT_LOAD_FOO); may be one of the
|
| 291 |
+
## following (Proprietary Matplotlib-specific synonyms are given in parentheses,
|
| 292 |
+
## but their use is discouraged):
|
| 293 |
+
## - default: Use the font's native hinter if possible, else FreeType's auto-hinter.
|
| 294 |
+
## ("either" is a synonym).
|
| 295 |
+
## - no_autohint: Use the font's native hinter if possible, else don't hint.
|
| 296 |
+
## ("native" is a synonym.)
|
| 297 |
+
## - force_autohint: Use FreeType's auto-hinter. ("auto" is a synonym.)
|
| 298 |
+
## - no_hinting: Disable hinting. ("none" is a synonym.)
|
| 299 |
+
#text.hinting: force_autohint
|
| 300 |
+
|
| 301 |
+
#text.hinting_factor: 8 # Specifies the amount of softness for hinting in the
|
| 302 |
+
# horizontal direction. A value of 1 will hint to full
|
| 303 |
+
# pixels. A value of 2 will hint to half pixels etc.
|
| 304 |
+
#text.kerning_factor: 0 # Specifies the scaling factor for kerning values. This
|
| 305 |
+
# is provided solely to allow old test images to remain
|
| 306 |
+
# unchanged. Set to 6 to obtain previous behavior.
|
| 307 |
+
# Values other than 0 or 6 have no defined meaning.
|
| 308 |
+
#text.antialiased: True # If True (default), the text will be antialiased.
|
| 309 |
+
# This only affects raster outputs.
|
| 310 |
+
#text.parse_math: True # Use mathtext if there is an even number of unescaped
|
| 311 |
+
# dollar signs.
|
| 312 |
+
|
| 313 |
+
|
| 314 |
+
## ***************************************************************************
|
| 315 |
+
## * LaTeX *
|
| 316 |
+
## ***************************************************************************
|
| 317 |
+
## For more information on LaTeX properties, see
|
| 318 |
+
## https://matplotlib.org/stable/users/explain/text/usetex.html
|
| 319 |
+
#text.usetex: False # use latex for all text handling. The following fonts
|
| 320 |
+
# are supported through the usual rc parameter settings:
|
| 321 |
+
# new century schoolbook, bookman, times, palatino,
|
| 322 |
+
# zapf chancery, charter, serif, sans-serif, helvetica,
|
| 323 |
+
# avant garde, courier, monospace, computer modern roman,
|
| 324 |
+
# computer modern sans serif, computer modern typewriter
|
| 325 |
+
#text.latex.preamble: # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES
|
| 326 |
+
# AND IS THEREFORE UNSUPPORTED. PLEASE DO NOT ASK FOR HELP
|
| 327 |
+
# IF THIS FEATURE DOES NOT DO WHAT YOU EXPECT IT TO.
|
| 328 |
+
# text.latex.preamble is a single line of LaTeX code that
|
| 329 |
+
# will be passed on to the LaTeX system. It may contain
|
| 330 |
+
# any code that is valid for the LaTeX "preamble", i.e.
|
| 331 |
+
# between the "\documentclass" and "\begin{document}"
|
| 332 |
+
# statements.
|
| 333 |
+
# Note that it has to be put on a single line, which may
|
| 334 |
+
# become quite long.
|
| 335 |
+
# The following packages are always loaded with usetex,
|
| 336 |
+
# so beware of package collisions:
|
| 337 |
+
# geometry, inputenc, type1cm.
|
| 338 |
+
# PostScript (PSNFSS) font packages may also be
|
| 339 |
+
# loaded, depending on your font settings.
|
| 340 |
+
|
| 341 |
+
## The following settings allow you to select the fonts in math mode.
|
| 342 |
+
#mathtext.fontset: dejavusans # Should be 'dejavusans' (default),
|
| 343 |
+
# 'dejavuserif', 'cm' (Computer Modern), 'stix',
|
| 344 |
+
# 'stixsans' or 'custom'
|
| 345 |
+
## "mathtext.fontset: custom" is defined by the mathtext.bf, .cal, .it, ...
|
| 346 |
+
## settings which map a TeX font name to a fontconfig font pattern. (These
|
| 347 |
+
## settings are not used for other font sets.)
|
| 348 |
+
#mathtext.bf: sans:bold
|
| 349 |
+
#mathtext.bfit: sans:italic:bold
|
| 350 |
+
#mathtext.cal: cursive
|
| 351 |
+
#mathtext.it: sans:italic
|
| 352 |
+
#mathtext.rm: sans
|
| 353 |
+
#mathtext.sf: sans
|
| 354 |
+
#mathtext.tt: monospace
|
| 355 |
+
#mathtext.fallback: cm # Select fallback font from ['cm' (Computer Modern), 'stix'
|
| 356 |
+
# 'stixsans'] when a symbol cannot be found in one of the
|
| 357 |
+
# custom math fonts. Select 'None' to not perform fallback
|
| 358 |
+
# and replace the missing character by a dummy symbol.
|
| 359 |
+
#mathtext.default: it # The default font to use for math.
|
| 360 |
+
# Can be any of the LaTeX font names, including
|
| 361 |
+
# the special name "regular" for the same font
|
| 362 |
+
# used in regular text.
|
| 363 |
+
|
| 364 |
+
|
| 365 |
+
## ***************************************************************************
|
| 366 |
+
## * AXES *
|
| 367 |
+
## ***************************************************************************
|
| 368 |
+
## Following are default face and edge colors, default tick sizes,
|
| 369 |
+
## default font sizes for tick labels, and so on. See
|
| 370 |
+
## https://matplotlib.org/stable/api/axes_api.html#module-matplotlib.axes
|
| 371 |
+
#axes.facecolor: white # axes background color
|
| 372 |
+
#axes.edgecolor: black # axes edge color
|
| 373 |
+
#axes.linewidth: 0.8 # edge line width
|
| 374 |
+
#axes.grid: False # display grid or not
|
| 375 |
+
#axes.grid.axis: both # which axis the grid should apply to
|
| 376 |
+
#axes.grid.which: major # grid lines at {major, minor, both} ticks
|
| 377 |
+
#axes.titlelocation: center # alignment of the title: {left, right, center}
|
| 378 |
+
#axes.titlesize: large # font size of the axes title
|
| 379 |
+
#axes.titleweight: normal # font weight of title
|
| 380 |
+
#axes.titlecolor: auto # color of the axes title, auto falls back to
|
| 381 |
+
# text.color as default value
|
| 382 |
+
#axes.titley: None # position title (axes relative units). None implies auto
|
| 383 |
+
#axes.titlepad: 6.0 # pad between axes and title in points
|
| 384 |
+
#axes.labelsize: medium # font size of the x and y labels
|
| 385 |
+
#axes.labelpad: 4.0 # space between label and axis
|
| 386 |
+
#axes.labelweight: normal # weight of the x and y labels
|
| 387 |
+
#axes.labelcolor: black
|
| 388 |
+
#axes.axisbelow: line # draw axis gridlines and ticks:
|
| 389 |
+
# - below patches (True)
|
| 390 |
+
# - above patches but below lines ('line')
|
| 391 |
+
# - above all (False)
|
| 392 |
+
|
| 393 |
+
#axes.formatter.limits: -5, 6 # use scientific notation if log10
|
| 394 |
+
# of the axis range is smaller than the
|
| 395 |
+
# first or larger than the second
|
| 396 |
+
#axes.formatter.use_locale: False # When True, format tick labels
|
| 397 |
+
# according to the user's locale.
|
| 398 |
+
# For example, use ',' as a decimal
|
| 399 |
+
# separator in the fr_FR locale.
|
| 400 |
+
#axes.formatter.use_mathtext: False # When True, use mathtext for scientific
|
| 401 |
+
# notation.
|
| 402 |
+
#axes.formatter.min_exponent: 0 # minimum exponent to format in scientific notation
|
| 403 |
+
#axes.formatter.useoffset: True # If True, the tick label formatter
|
| 404 |
+
# will default to labeling ticks relative
|
| 405 |
+
# to an offset when the data range is
|
| 406 |
+
# small compared to the minimum absolute
|
| 407 |
+
# value of the data.
|
| 408 |
+
#axes.formatter.offset_threshold: 4 # When useoffset is True, the offset
|
| 409 |
+
# will be used when it can remove
|
| 410 |
+
# at least this number of significant
|
| 411 |
+
# digits from tick labels.
|
| 412 |
+
|
| 413 |
+
#axes.spines.left: True # display axis spines
|
| 414 |
+
#axes.spines.bottom: True
|
| 415 |
+
#axes.spines.top: True
|
| 416 |
+
#axes.spines.right: True
|
| 417 |
+
|
| 418 |
+
#axes.unicode_minus: True # use Unicode for the minus symbol rather than hyphen. See
|
| 419 |
+
# https://en.wikipedia.org/wiki/Plus_and_minus_signs#Character_codes
|
| 420 |
+
#axes.prop_cycle: cycler('color', ['1f77b4', 'ff7f0e', '2ca02c', 'd62728', '9467bd', '8c564b', 'e377c2', '7f7f7f', 'bcbd22', '17becf'])
|
| 421 |
+
# color cycle for plot lines as list of string color specs:
|
| 422 |
+
# single letter, long name, or web-style hex
|
| 423 |
+
# As opposed to all other parameters in this file, the color
|
| 424 |
+
# values must be enclosed in quotes for this parameter,
|
| 425 |
+
# e.g. '1f77b4', instead of 1f77b4.
|
| 426 |
+
# See also https://matplotlib.org/stable/users/explain/artists/color_cycle.html
|
| 427 |
+
# for more details on prop_cycle usage.
|
| 428 |
+
#axes.xmargin: .05 # x margin. See `axes.Axes.margins`
|
| 429 |
+
#axes.ymargin: .05 # y margin. See `axes.Axes.margins`
|
| 430 |
+
#axes.zmargin: .05 # z margin. See `axes.Axes.margins`
|
| 431 |
+
#axes.autolimit_mode: data # If "data", use axes.xmargin and axes.ymargin as is.
|
| 432 |
+
# If "round_numbers", after application of margins, axis
|
| 433 |
+
# limits are further expanded to the nearest "round" number.
|
| 434 |
+
#polaraxes.grid: True # display grid on polar axes
|
| 435 |
+
#axes3d.grid: True # display grid on 3D axes
|
| 436 |
+
#axes3d.automargin: False # automatically add margin when manually setting 3D axis limits
|
| 437 |
+
|
| 438 |
+
#axes3d.xaxis.panecolor: (0.95, 0.95, 0.95, 0.5) # background pane on 3D axes
|
| 439 |
+
#axes3d.yaxis.panecolor: (0.90, 0.90, 0.90, 0.5) # background pane on 3D axes
|
| 440 |
+
#axes3d.zaxis.panecolor: (0.925, 0.925, 0.925, 0.5) # background pane on 3D axes
|
| 441 |
+
|
| 442 |
+
#axes3d.mouserotationstyle: arcball # {azel, trackball, sphere, arcball}
|
| 443 |
+
# See also https://matplotlib.org/stable/api/toolkits/mplot3d/view_angles.html#rotation-with-mouse
|
| 444 |
+
#axes3d.trackballsize: 0.667 # trackball diameter, in units of the Axes bbox
|
| 445 |
+
#axes3d.trackballborder: 0.2 # trackball border width, in units of the Axes bbox (only for 'sphere' and 'arcball' style)
|
| 446 |
+
|
| 447 |
+
## ***************************************************************************
|
| 448 |
+
## * AXIS *
|
| 449 |
+
## ***************************************************************************
|
| 450 |
+
#xaxis.labellocation: center # alignment of the xaxis label: {left, right, center}
|
| 451 |
+
#yaxis.labellocation: center # alignment of the yaxis label: {bottom, top, center}
|
| 452 |
+
|
| 453 |
+
|
| 454 |
+
## ***************************************************************************
|
| 455 |
+
## * DATES *
|
| 456 |
+
## ***************************************************************************
|
| 457 |
+
## These control the default format strings used in AutoDateFormatter.
|
| 458 |
+
## Any valid format datetime format string can be used (see the python
|
| 459 |
+
## `datetime` for details). For example, by using:
|
| 460 |
+
## - '%x' will use the locale date representation
|
| 461 |
+
## - '%X' will use the locale time representation
|
| 462 |
+
## - '%c' will use the full locale datetime representation
|
| 463 |
+
## These values map to the scales:
|
| 464 |
+
## {'year': 365, 'month': 30, 'day': 1, 'hour': 1/24, 'minute': 1 / (24 * 60)}
|
| 465 |
+
|
| 466 |
+
#date.autoformatter.year: %Y
|
| 467 |
+
#date.autoformatter.month: %Y-%m
|
| 468 |
+
#date.autoformatter.day: %Y-%m-%d
|
| 469 |
+
#date.autoformatter.hour: %m-%d %H
|
| 470 |
+
#date.autoformatter.minute: %d %H:%M
|
| 471 |
+
#date.autoformatter.second: %H:%M:%S
|
| 472 |
+
#date.autoformatter.microsecond: %M:%S.%f
|
| 473 |
+
## The reference date for Matplotlib's internal date representation
|
| 474 |
+
## See https://matplotlib.org/stable/gallery/ticks/date_precision_and_epochs.html
|
| 475 |
+
#date.epoch: 1970-01-01T00:00:00
|
| 476 |
+
## 'auto', 'concise':
|
| 477 |
+
#date.converter: auto
|
| 478 |
+
## For auto converter whether to use interval_multiples:
|
| 479 |
+
#date.interval_multiples: True
|
| 480 |
+
|
| 481 |
+
## ***************************************************************************
|
| 482 |
+
## * TICKS *
|
| 483 |
+
## ***************************************************************************
|
| 484 |
+
## See https://matplotlib.org/stable/api/axis_api.html#matplotlib.axis.Tick
|
| 485 |
+
#xtick.top: False # draw ticks on the top side
|
| 486 |
+
#xtick.bottom: True # draw ticks on the bottom side
|
| 487 |
+
#xtick.labeltop: False # draw label on the top
|
| 488 |
+
#xtick.labelbottom: True # draw label on the bottom
|
| 489 |
+
#xtick.major.size: 3.5 # major tick size in points
|
| 490 |
+
#xtick.minor.size: 2 # minor tick size in points
|
| 491 |
+
#xtick.major.width: 0.8 # major tick width in points
|
| 492 |
+
#xtick.minor.width: 0.6 # minor tick width in points
|
| 493 |
+
#xtick.major.pad: 3.5 # distance to major tick label in points
|
| 494 |
+
#xtick.minor.pad: 3.4 # distance to the minor tick label in points
|
| 495 |
+
#xtick.color: black # color of the ticks
|
| 496 |
+
#xtick.labelcolor: inherit # color of the tick labels or inherit from xtick.color
|
| 497 |
+
#xtick.labelsize: medium # font size of the tick labels
|
| 498 |
+
#xtick.direction: out # direction: {in, out, inout}
|
| 499 |
+
#xtick.minor.visible: False # visibility of minor ticks on x-axis
|
| 500 |
+
#xtick.major.top: True # draw x axis top major ticks
|
| 501 |
+
#xtick.major.bottom: True # draw x axis bottom major ticks
|
| 502 |
+
#xtick.minor.top: True # draw x axis top minor ticks
|
| 503 |
+
#xtick.minor.bottom: True # draw x axis bottom minor ticks
|
| 504 |
+
#xtick.minor.ndivs: auto # number of minor ticks between the major ticks on x-axis
|
| 505 |
+
#xtick.alignment: center # alignment of xticks
|
| 506 |
+
|
| 507 |
+
#ytick.left: True # draw ticks on the left side
|
| 508 |
+
#ytick.right: False # draw ticks on the right side
|
| 509 |
+
#ytick.labelleft: True # draw tick labels on the left side
|
| 510 |
+
#ytick.labelright: False # draw tick labels on the right side
|
| 511 |
+
#ytick.major.size: 3.5 # major tick size in points
|
| 512 |
+
#ytick.minor.size: 2 # minor tick size in points
|
| 513 |
+
#ytick.major.width: 0.8 # major tick width in points
|
| 514 |
+
#ytick.minor.width: 0.6 # minor tick width in points
|
| 515 |
+
#ytick.major.pad: 3.5 # distance to major tick label in points
|
| 516 |
+
#ytick.minor.pad: 3.4 # distance to the minor tick label in points
|
| 517 |
+
#ytick.color: black # color of the ticks
|
| 518 |
+
#ytick.labelcolor: inherit # color of the tick labels or inherit from ytick.color
|
| 519 |
+
#ytick.labelsize: medium # font size of the tick labels
|
| 520 |
+
#ytick.direction: out # direction: {in, out, inout}
|
| 521 |
+
#ytick.minor.visible: False # visibility of minor ticks on y-axis
|
| 522 |
+
#ytick.major.left: True # draw y axis left major ticks
|
| 523 |
+
#ytick.major.right: True # draw y axis right major ticks
|
| 524 |
+
#ytick.minor.left: True # draw y axis left minor ticks
|
| 525 |
+
#ytick.minor.right: True # draw y axis right minor ticks
|
| 526 |
+
#ytick.minor.ndivs: auto # number of minor ticks between the major ticks on y-axis
|
| 527 |
+
#ytick.alignment: center_baseline # alignment of yticks
|
| 528 |
+
|
| 529 |
+
|
| 530 |
+
## ***************************************************************************
|
| 531 |
+
## * GRIDS *
|
| 532 |
+
## ***************************************************************************
|
| 533 |
+
#grid.color: "#b0b0b0" # grid color
|
| 534 |
+
#grid.linestyle: - # solid
|
| 535 |
+
#grid.linewidth: 0.8 # in points
|
| 536 |
+
#grid.alpha: 1.0 # transparency, between 0.0 and 1.0
|
| 537 |
+
|
| 538 |
+
|
| 539 |
+
## ***************************************************************************
|
| 540 |
+
## * LEGEND *
|
| 541 |
+
## ***************************************************************************
|
| 542 |
+
#legend.loc: best
|
| 543 |
+
#legend.frameon: True # if True, draw the legend on a background patch
|
| 544 |
+
#legend.framealpha: 0.8 # legend patch transparency
|
| 545 |
+
#legend.facecolor: inherit # inherit from axes.facecolor; or color spec
|
| 546 |
+
#legend.edgecolor: 0.8 # background patch boundary color
|
| 547 |
+
#legend.fancybox: True # if True, use a rounded box for the
|
| 548 |
+
# legend background, else a rectangle
|
| 549 |
+
#legend.shadow: False # if True, give background a shadow effect
|
| 550 |
+
#legend.numpoints: 1 # the number of marker points in the legend line
|
| 551 |
+
#legend.scatterpoints: 1 # number of scatter points
|
| 552 |
+
#legend.markerscale: 1.0 # the relative size of legend markers vs. original
|
| 553 |
+
#legend.fontsize: medium
|
| 554 |
+
#legend.labelcolor: None
|
| 555 |
+
#legend.title_fontsize: None # None sets to the same as the default axes.
|
| 556 |
+
|
| 557 |
+
## Dimensions as fraction of font size:
|
| 558 |
+
#legend.borderpad: 0.4 # border whitespace
|
| 559 |
+
#legend.labelspacing: 0.5 # the vertical space between the legend entries
|
| 560 |
+
#legend.handlelength: 2.0 # the length of the legend lines
|
| 561 |
+
#legend.handleheight: 0.7 # the height of the legend handle
|
| 562 |
+
#legend.handletextpad: 0.8 # the space between the legend line and legend text
|
| 563 |
+
#legend.borderaxespad: 0.5 # the border between the axes and legend edge
|
| 564 |
+
#legend.columnspacing: 2.0 # column separation
|
| 565 |
+
|
| 566 |
+
|
| 567 |
+
## ***************************************************************************
|
| 568 |
+
## * FIGURE *
|
| 569 |
+
## ***************************************************************************
|
| 570 |
+
## See https://matplotlib.org/stable/api/figure_api.html#matplotlib.figure.Figure
|
| 571 |
+
#figure.titlesize: large # size of the figure title (``Figure.suptitle()``)
|
| 572 |
+
#figure.titleweight: normal # weight of the figure title
|
| 573 |
+
#figure.labelsize: large # size of the figure label (``Figure.sup[x|y]label()``)
|
| 574 |
+
#figure.labelweight: normal # weight of the figure label
|
| 575 |
+
#figure.figsize: 6.4, 4.8 # figure size in inches
|
| 576 |
+
#figure.dpi: 100 # figure dots per inch
|
| 577 |
+
#figure.facecolor: white # figure face color
|
| 578 |
+
#figure.edgecolor: white # figure edge color
|
| 579 |
+
#figure.frameon: True # enable figure frame
|
| 580 |
+
#figure.max_open_warning: 20 # The maximum number of figures to open through
|
| 581 |
+
# the pyplot interface before emitting a warning.
|
| 582 |
+
# If less than one this feature is disabled.
|
| 583 |
+
#figure.raise_window : True # Raise the GUI window to front when show() is called.
|
| 584 |
+
|
| 585 |
+
## The figure subplot parameters. All dimensions are a fraction of the figure width and height.
|
| 586 |
+
#figure.subplot.left: 0.125 # the left side of the subplots of the figure
|
| 587 |
+
#figure.subplot.right: 0.9 # the right side of the subplots of the figure
|
| 588 |
+
#figure.subplot.bottom: 0.11 # the bottom of the subplots of the figure
|
| 589 |
+
#figure.subplot.top: 0.88 # the top of the subplots of the figure
|
| 590 |
+
#figure.subplot.wspace: 0.2 # the amount of width reserved for space between subplots,
|
| 591 |
+
# expressed as a fraction of the average axis width
|
| 592 |
+
#figure.subplot.hspace: 0.2 # the amount of height reserved for space between subplots,
|
| 593 |
+
# expressed as a fraction of the average axis height
|
| 594 |
+
|
| 595 |
+
## Figure layout
|
| 596 |
+
#figure.autolayout: False # When True, automatically adjust subplot
|
| 597 |
+
# parameters to make the plot fit the figure
|
| 598 |
+
# using `tight_layout`
|
| 599 |
+
#figure.constrained_layout.use: False # When True, automatically make plot
|
| 600 |
+
# elements fit on the figure. (Not
|
| 601 |
+
# compatible with `autolayout`, above).
|
| 602 |
+
## Padding (in inches) around axes; defaults to 3/72 inches, i.e. 3 points.
|
| 603 |
+
#figure.constrained_layout.h_pad: 0.04167
|
| 604 |
+
#figure.constrained_layout.w_pad: 0.04167
|
| 605 |
+
## Spacing between subplots, relative to the subplot sizes. Much smaller than for
|
| 606 |
+
## tight_layout (figure.subplot.hspace, figure.subplot.wspace) as constrained_layout
|
| 607 |
+
## already takes surrounding texts (titles, labels, # ticklabels) into account.
|
| 608 |
+
#figure.constrained_layout.hspace: 0.02
|
| 609 |
+
#figure.constrained_layout.wspace: 0.02
|
| 610 |
+
|
| 611 |
+
|
| 612 |
+
## ***************************************************************************
|
| 613 |
+
## * IMAGES *
|
| 614 |
+
## ***************************************************************************
|
| 615 |
+
#image.aspect: equal # {equal, auto} or a number
|
| 616 |
+
#image.interpolation: auto # see help(imshow) for options
|
| 617 |
+
#image.interpolation_stage: auto # see help(imshow) for options
|
| 618 |
+
#image.cmap: viridis # A colormap name (plasma, magma, etc.)
|
| 619 |
+
#image.lut: 256 # the size of the colormap lookup table
|
| 620 |
+
#image.origin: upper # {lower, upper}
|
| 621 |
+
#image.resample: True
|
| 622 |
+
#image.composite_image: True # When True, all the images on a set of axes are
|
| 623 |
+
# combined into a single composite image before
|
| 624 |
+
# saving a figure as a vector graphics file,
|
| 625 |
+
# such as a PDF.
|
| 626 |
+
|
| 627 |
+
|
| 628 |
+
## ***************************************************************************
|
| 629 |
+
## * CONTOUR PLOTS *
|
| 630 |
+
## ***************************************************************************
|
| 631 |
+
#contour.negative_linestyle: dashed # string or on-off ink sequence
|
| 632 |
+
#contour.corner_mask: True # {True, False}
|
| 633 |
+
#contour.linewidth: None # {float, None} Size of the contour line
|
| 634 |
+
# widths. If set to None, it falls back to
|
| 635 |
+
# `line.linewidth`.
|
| 636 |
+
#contour.algorithm: mpl2014 # {mpl2005, mpl2014, serial, threaded}
|
| 637 |
+
|
| 638 |
+
|
| 639 |
+
## ***************************************************************************
|
| 640 |
+
## * ERRORBAR PLOTS *
|
| 641 |
+
## ***************************************************************************
|
| 642 |
+
#errorbar.capsize: 0 # length of end cap on error bars in pixels
|
| 643 |
+
|
| 644 |
+
|
| 645 |
+
## ***************************************************************************
|
| 646 |
+
## * HISTOGRAM PLOTS *
|
| 647 |
+
## ***************************************************************************
|
| 648 |
+
#hist.bins: 10 # The default number of histogram bins or 'auto'.
|
| 649 |
+
|
| 650 |
+
|
| 651 |
+
## ***************************************************************************
|
| 652 |
+
## * SCATTER PLOTS *
|
| 653 |
+
## ***************************************************************************
|
| 654 |
+
#scatter.marker: o # The default marker type for scatter plots.
|
| 655 |
+
#scatter.edgecolors: face # The default edge colors for scatter plots.
|
| 656 |
+
|
| 657 |
+
|
| 658 |
+
## ***************************************************************************
|
| 659 |
+
## * AGG RENDERING *
|
| 660 |
+
## ***************************************************************************
|
| 661 |
+
## Warning: experimental, 2008/10/10
|
| 662 |
+
#agg.path.chunksize: 0 # 0 to disable; values in the range
|
| 663 |
+
# 10000 to 100000 can improve speed slightly
|
| 664 |
+
# and prevent an Agg rendering failure
|
| 665 |
+
# when plotting very large data sets,
|
| 666 |
+
# especially if they are very gappy.
|
| 667 |
+
# It may cause minor artifacts, though.
|
| 668 |
+
# A value of 20000 is probably a good
|
| 669 |
+
# starting point.
|
| 670 |
+
|
| 671 |
+
|
| 672 |
+
## ***************************************************************************
|
| 673 |
+
## * PATHS *
|
| 674 |
+
## ***************************************************************************
|
| 675 |
+
#path.simplify: True # When True, simplify paths by removing "invisible"
|
| 676 |
+
# points to reduce file size and increase rendering
|
| 677 |
+
# speed
|
| 678 |
+
#path.simplify_threshold: 0.111111111111 # The threshold of similarity below
|
| 679 |
+
# which vertices will be removed in
|
| 680 |
+
# the simplification process.
|
| 681 |
+
#path.snap: True # When True, rectilinear axis-aligned paths will be snapped
|
| 682 |
+
# to the nearest pixel when certain criteria are met.
|
| 683 |
+
# When False, paths will never be snapped.
|
| 684 |
+
#path.sketch: None # May be None, or a tuple of the form:
|
| 685 |
+
# path.sketch: (scale, length, randomness)
|
| 686 |
+
# - *scale* is the amplitude of the wiggle
|
| 687 |
+
# perpendicular to the line (in pixels).
|
| 688 |
+
# - *length* is the length of the wiggle along the
|
| 689 |
+
# line (in pixels).
|
| 690 |
+
# - *randomness* is the factor by which the length is
|
| 691 |
+
# randomly scaled.
|
| 692 |
+
#path.effects:
|
| 693 |
+
|
| 694 |
+
|
| 695 |
+
## ***************************************************************************
|
| 696 |
+
## * SAVING FIGURES *
|
| 697 |
+
## ***************************************************************************
|
| 698 |
+
## The default savefig parameters can be different from the display parameters
|
| 699 |
+
## e.g., you may want a higher resolution, or to make the figure
|
| 700 |
+
## background white
|
| 701 |
+
#savefig.dpi: figure # figure dots per inch or 'figure'
|
| 702 |
+
#savefig.facecolor: auto # figure face color when saving
|
| 703 |
+
#savefig.edgecolor: auto # figure edge color when saving
|
| 704 |
+
#savefig.format: png # {png, ps, pdf, svg}
|
| 705 |
+
#savefig.bbox: standard # {tight, standard}
|
| 706 |
+
# 'tight' is incompatible with generating frames
|
| 707 |
+
# for animation
|
| 708 |
+
#savefig.pad_inches: 0.1 # padding to be used, when bbox is set to 'tight'
|
| 709 |
+
#savefig.directory: ~ # default directory in savefig dialog, gets updated after
|
| 710 |
+
# interactive saves, unless set to the empty string (i.e.
|
| 711 |
+
# the current directory); use '.' to start at the current
|
| 712 |
+
# directory but update after interactive saves
|
| 713 |
+
#savefig.transparent: False # whether figures are saved with a transparent
|
| 714 |
+
# background by default
|
| 715 |
+
#savefig.orientation: portrait # orientation of saved figure, for PostScript output only
|
| 716 |
+
|
| 717 |
+
### macosx backend params
|
| 718 |
+
#macosx.window_mode : system # How to open new figures (system, tab, window)
|
| 719 |
+
# system uses the MacOS system preferences
|
| 720 |
+
|
| 721 |
+
### tk backend params
|
| 722 |
+
#tk.window_focus: False # Maintain shell focus for TkAgg
|
| 723 |
+
|
| 724 |
+
### ps backend params
|
| 725 |
+
#ps.papersize: letter # {figure, letter, legal, ledger, A0-A10, B0-B10}
|
| 726 |
+
#ps.useafm: False # use AFM fonts, results in small files
|
| 727 |
+
#ps.usedistiller: False # {ghostscript, xpdf, None}
|
| 728 |
+
# Experimental: may produce smaller files.
|
| 729 |
+
# xpdf intended for production of publication quality files,
|
| 730 |
+
# but requires ghostscript, xpdf and ps2eps
|
| 731 |
+
#ps.distiller.res: 6000 # dpi
|
| 732 |
+
#ps.fonttype: 3 # Output Type 3 (Type3) or Type 42 (TrueType)
|
| 733 |
+
|
| 734 |
+
### PDF backend params
|
| 735 |
+
#pdf.compression: 6 # integer from 0 to 9
|
| 736 |
+
# 0 disables compression (good for debugging)
|
| 737 |
+
#pdf.fonttype: 3 # Output Type 3 (Type3) or Type 42 (TrueType)
|
| 738 |
+
#pdf.use14corefonts: False
|
| 739 |
+
#pdf.inheritcolor: False
|
| 740 |
+
|
| 741 |
+
### SVG backend params
|
| 742 |
+
#svg.image_inline: True # Write raster image data directly into the SVG file
|
| 743 |
+
#svg.fonttype: path # How to handle SVG fonts:
|
| 744 |
+
# path: Embed characters as paths -- supported
|
| 745 |
+
# by most SVG renderers
|
| 746 |
+
# None: Assume fonts are installed on the
|
| 747 |
+
# machine where the SVG will be viewed.
|
| 748 |
+
#svg.hashsalt: None # If not None, use this string as hash salt instead of uuid4
|
| 749 |
+
#svg.id: None # If not None, use this string as the value for the `id`
|
| 750 |
+
# attribute in the top <svg> tag
|
| 751 |
+
|
| 752 |
+
### pgf parameter
|
| 753 |
+
## See https://matplotlib.org/stable/tutorials/text/pgf.html for more information.
|
| 754 |
+
#pgf.rcfonts: True
|
| 755 |
+
#pgf.preamble: # See text.latex.preamble for documentation
|
| 756 |
+
#pgf.texsystem: xelatex
|
| 757 |
+
|
| 758 |
+
### docstring params
|
| 759 |
+
#docstring.hardcopy: False # set this when you want to generate hardcopy docstring
|
| 760 |
+
|
| 761 |
+
|
| 762 |
+
## ***************************************************************************
|
| 763 |
+
## * INTERACTIVE KEYMAPS *
|
| 764 |
+
## ***************************************************************************
|
| 765 |
+
## Event keys to interact with figures/plots via keyboard.
|
| 766 |
+
## See https://matplotlib.org/stable/users/explain/interactive.html for more
|
| 767 |
+
## details on interactive navigation. Customize these settings according to
|
| 768 |
+
## your needs. Leave the field(s) empty if you don't need a key-map. (i.e.,
|
| 769 |
+
## fullscreen : '')
|
| 770 |
+
#keymap.fullscreen: f, ctrl+f # toggling
|
| 771 |
+
#keymap.home: h, r, home # home or reset mnemonic
|
| 772 |
+
#keymap.back: left, c, backspace, MouseButton.BACK # forward / backward keys
|
| 773 |
+
#keymap.forward: right, v, MouseButton.FORWARD # for quick navigation
|
| 774 |
+
#keymap.pan: p # pan mnemonic
|
| 775 |
+
#keymap.zoom: o # zoom mnemonic
|
| 776 |
+
#keymap.save: s, ctrl+s # saving current figure
|
| 777 |
+
#keymap.help: f1 # display help about active tools
|
| 778 |
+
#keymap.quit: ctrl+w, cmd+w, q # close the current figure
|
| 779 |
+
#keymap.quit_all: # close all figures
|
| 780 |
+
#keymap.grid: g # switching on/off major grids in current axes
|
| 781 |
+
#keymap.grid_minor: G # switching on/off minor grids in current axes
|
| 782 |
+
#keymap.yscale: l # toggle scaling of y-axes ('log'/'linear')
|
| 783 |
+
#keymap.xscale: k, L # toggle scaling of x-axes ('log'/'linear')
|
| 784 |
+
#keymap.copy: ctrl+c, cmd+c # copy figure to clipboard
|
| 785 |
+
|
| 786 |
+
|
| 787 |
+
## ***************************************************************************
|
| 788 |
+
## * ANIMATION *
|
| 789 |
+
## ***************************************************************************
|
| 790 |
+
#animation.html: none # How to display the animation as HTML in
|
| 791 |
+
# the IPython notebook:
|
| 792 |
+
# - 'html5' uses HTML5 video tag
|
| 793 |
+
# - 'jshtml' creates a JavaScript animation
|
| 794 |
+
#animation.writer: ffmpeg # MovieWriter 'backend' to use
|
| 795 |
+
#animation.codec: h264 # Codec to use for writing movie
|
| 796 |
+
#animation.bitrate: -1 # Controls size/quality trade-off for movie.
|
| 797 |
+
# -1 implies let utility auto-determine
|
| 798 |
+
#animation.frame_format: png # Controls frame format used by temp files
|
| 799 |
+
|
| 800 |
+
## Path to ffmpeg binary. Unqualified paths are resolved by subprocess.Popen.
|
| 801 |
+
#animation.ffmpeg_path: ffmpeg
|
| 802 |
+
## Additional arguments to pass to ffmpeg.
|
| 803 |
+
#animation.ffmpeg_args:
|
| 804 |
+
|
| 805 |
+
## Path to ImageMagick's convert binary. Unqualified paths are resolved by
|
| 806 |
+
## subprocess.Popen, except that on Windows, we look up an install of
|
| 807 |
+
## ImageMagick in the registry (as convert is also the name of a system tool).
|
| 808 |
+
#animation.convert_path: convert
|
| 809 |
+
## Additional arguments to pass to convert.
|
| 810 |
+
#animation.convert_args: -layers, OptimizePlus
|
| 811 |
+
#
|
| 812 |
+
#animation.embed_limit: 20.0 # Limit, in MB, of size of base64 encoded
|
| 813 |
+
# animation in HTML (i.e. IPython notebook)
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/plot_directive/plot_directive.css
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* plot_directive.css
|
| 3 |
+
* ~~~~~~~~~~~~
|
| 4 |
+
*
|
| 5 |
+
* Stylesheet controlling images created using the `plot` directive within
|
| 6 |
+
* Sphinx.
|
| 7 |
+
*
|
| 8 |
+
* :copyright: Copyright 2020-* by the Matplotlib development team.
|
| 9 |
+
* :license: Matplotlib, see LICENSE for details.
|
| 10 |
+
*
|
| 11 |
+
*/
|
| 12 |
+
|
| 13 |
+
img.plot-directive {
|
| 14 |
+
border: 0;
|
| 15 |
+
max-width: 100%;
|
| 16 |
+
}
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/Minduka_Present_Blue_Pack.png
ADDED
|
Git LFS Details
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/README.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is the sample data needed for some of matplotlib's examples and
|
| 2 |
+
docs. See matplotlib.cbook.get_sample_data for more info.
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/Stocks.csv
ADDED
|
@@ -0,0 +1,526 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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,IBM,AAPL,MSFT,XRX,AMZN,DELL,GOOGL,ADBE,^GSPC,^IXIC
|
| 3 |
+
1990-01-01,10.970438003540039,0.24251236021518707,0.40375930070877075,11.202081680297852,,,,1.379060983657837,329.0799865722656,415.79998779296875
|
| 4 |
+
1990-02-01,11.554415702819824,0.24251236021518707,0.43104037642478943,10.39472484588623,,,,1.7790844440460205,331.8900146484375,425.79998779296875
|
| 5 |
+
1990-02-05,,,,,,,,,,
|
| 6 |
+
1990-03-01,11.951693534851074,0.28801724314689636,0.4834197461605072,11.394058227539062,,,,2.2348830699920654,339.94000244140625,435.5
|
| 7 |
+
1990-04-01,12.275476455688477,0.2817564308643341,0.5063362717628479,10.139430046081543,,,,2.2531447410583496,330.79998779296875,420.1000061035156
|
| 8 |
+
1990-05-01,13.514284133911133,0.295173317193985,0.6372847557067871,9.704153060913086,,,,2.0985164642333984,361.2300109863281,459.0
|
| 9 |
+
1990-05-04,,,,,,,,,,
|
| 10 |
+
1990-06-01,13.380948066711426,0.3211067020893097,0.6634747385978699,9.749448776245117,,,,2.164785146713257,358.0199890136719,462.29998779296875
|
| 11 |
+
1990-07-01,12.697657585144043,0.3013734817504883,0.5805402994155884,9.489465713500977,,,,2.069063901901245,356.1499938964844,438.20001220703125
|
| 12 |
+
1990-08-01,11.601561546325684,0.26549553871154785,0.5368908047676086,8.553519248962402,,,,1.4750508069992065,322.55999755859375,381.20001220703125
|
| 13 |
+
1990-08-06,,,,,,,,,,
|
| 14 |
+
1990-09-01,12.251119613647461,0.20872052013874054,0.5499854683876038,7.255113124847412,,,,1.1210384368896484,306.04998779296875,344.5
|
| 15 |
+
1990-10-01,12.15034294128418,0.22131578624248505,0.5565334558486938,6.248927116394043,,,,1.416249394416809,304.0,329.79998779296875
|
| 16 |
+
1990-11-01,13.08609390258789,0.26449888944625854,0.6307373642921448,7.361023426055908,,,,1.4900128841400146,322.2200012207031,359.1000061035156
|
| 17 |
+
1990-11-05,,,,,,,,,,
|
| 18 |
+
1990-12-01,13.161062240600586,0.31051647663116455,0.6569272875785828,7.519896507263184,,,,1.7186784744262695,330.2200012207031,373.79998779296875
|
| 19 |
+
1991-01-01,14.762505531311035,0.40078282356262207,0.8566243648529053,10.554410934448242,,,,2.242394208908081,343.92999267578125,414.20001220703125
|
| 20 |
+
1991-02-01,14.995450973510742,0.4134202301502228,0.9057300686836243,12.286416053771973,,,,2.8402483463287354,367.07000732421875,453.1000061035156
|
| 21 |
+
1991-02-04,,,,,,,,,,
|
| 22 |
+
1991-03-01,13.39067268371582,0.49208223819732666,0.92646324634552,12.511940002441406,,,,3.1869795322418213,375.2200012207031,482.29998779296875
|
| 23 |
+
1991-04-01,12.111870765686035,0.39800751209259033,0.8642628788948059,12.511940002441406,,,,3.0589873790740967,375.3399963378906,484.7200012207031
|
| 24 |
+
1991-05-01,12.479341506958008,0.34011581540107727,0.9581103920936584,12.73144817352295,,,,2.9850986003875732,389.8299865722656,506.1099853515625
|
| 25 |
+
1991-05-06,,,,,,,,,,
|
| 26 |
+
1991-06-01,11.555957794189453,0.30108359456062317,0.89208984375,11.853414535522461,,,,2.5565452575683594,371.1600036621094,475.9200134277344
|
| 27 |
+
1991-07-01,12.04675579071045,0.33554431796073914,0.9624748229980469,12.397871017456055,,,,3.1678967475891113,387.80999755859375,502.0400085449219
|
| 28 |
+
1991-08-01,11.526222229003906,0.3845158815383911,1.1163398027420044,13.037229537963867,,,,3.012463331222534,395.42999267578125,525.6799926757812
|
| 29 |
+
1991-08-06,,,,,,,,,,
|
| 30 |
+
1991-09-01,12.478833198547363,0.3599340617656708,1.1654454469680786,13.740047454833984,,,,3.0346662998199463,387.8599853515625,526.8800048828125
|
| 31 |
+
1991-10-01,11.83155345916748,0.37447676062583923,1.2292828559875488,14.41578483581543,,,,3.1431360244750977,392.45001220703125,542.97998046875
|
| 32 |
+
1991-11-01,11.139124870300293,0.36902356147766113,1.2734787464141846,13.965290069580078,,,,2.846613883972168,375.2200012207031,523.9000244140625
|
| 33 |
+
1991-11-04,,,,,,,,,,
|
| 34 |
+
1991-12-01,10.851117134094238,0.4109107553958893,1.4568067789077759,15.42939281463623,,,,3.8844411373138428,417.0899963378906,586.3400268554688
|
| 35 |
+
1992-01-01,10.973037719726562,0.4719553291797638,1.5746610164642334,17.584869384765625,,,,3.639812469482422,408.7799987792969,620.2100219726562
|
| 36 |
+
1992-02-01,10.592026710510254,0.49199995398521423,1.61721932888031,18.04088020324707,,,,3.3547844886779785,412.70001220703125,633.469970703125
|
| 37 |
+
1992-02-06,,,,,,,,,,
|
| 38 |
+
1992-03-01,10.317353248596191,0.4253714978694916,1.5517452955245972,16.302349090576172,,,,3.043056011199951,403.69000244140625,603.77001953125
|
| 39 |
+
1992-04-01,11.213163375854492,0.43906375765800476,1.4437123537063599,17.062589645385742,,,,2.631263494491577,414.95001220703125,578.6799926757812
|
| 40 |
+
1992-05-01,11.213163375854492,0.4363253116607666,1.5844820737838745,17.263996124267578,,,,2.705594062805176,415.3500061035156,585.3099975585938
|
| 41 |
+
1992-05-07,,,,,,,,,,
|
| 42 |
+
1992-06-01,12.25231647491455,0.3505205810070038,1.3749638795852661,16.055517196655273,,,,2.705594062805176,408.1400146484375,563.5999755859375
|
| 43 |
+
1992-07-01,11.861115455627441,0.34207984805107117,1.4289811849594116,17.38025665283203,,,,2.263554334640503,424.2099914550781,580.8300170898438
|
| 44 |
+
1992-08-01,10.84400749206543,0.33659130334854126,1.4633547067642212,17.525571823120117,,,,1.9359338283538818,414.0299987792969,563.1199951171875
|
| 45 |
+
1992-08-06,,,,,,,,,,
|
| 46 |
+
1992-09-01,10.243829727172852,0.3310767114162445,1.58120858669281,18.464359283447266,,,,1.6753284931182861,417.79998779296875,583.27001953125
|
| 47 |
+
1992-10-01,8.483662605285645,0.38518592715263367,1.7432584762573242,17.436922073364258,,,,2.12785267829895,418.67999267578125,605.1699829101562
|
| 48 |
+
1992-11-01,8.658098220825195,0.42187052965164185,1.8291932344436646,18.493711471557617,,,,2.030792474746704,431.3500061035156,652.72998046875
|
| 49 |
+
1992-11-05,,,,,,,,,,
|
| 50 |
+
1992-12-01,6.505843639373779,0.43931084871292114,1.6769649982452393,18.788379669189453,,,,1.8814688920974731,435.7099914550781,676.9500122070312
|
| 51 |
+
1993-01-01,6.651134490966797,0.43747296929359436,1.6990629434585571,20.329378128051758,,,,2.4787611961364746,438.7799987792969,696.3400268554688
|
| 52 |
+
1993-02-01,7.022435188293457,0.38968151807785034,1.6376806497573853,19.618152618408203,,,,2.670894145965576,443.3800048828125,670.77001953125
|
| 53 |
+
1993-02-04,,,,,,,,,,
|
| 54 |
+
1993-03-01,6.6405534744262695,0.37947842478752136,1.8169171810150146,19.766319274902344,,,,2.573633909225464,451.6700134277344,690.1300048828125
|
| 55 |
+
1993-04-01,6.346868991851807,0.3776364326477051,1.6794201135635376,18.451818466186523,,,,3.434307336807251,440.19000244140625,661.4199829101562
|
| 56 |
+
1993-05-01,6.885295867919922,0.4172421991825104,1.8193715810775757,18.12286949157715,,,,3.959200859069824,450.19000244140625,700.530029296875
|
| 57 |
+
1993-05-06,,,,,,,,,,
|
| 58 |
+
1993-06-01,6.51603364944458,0.29166528582572937,1.7285257577896118,19.299583435058594,,,,3.7042527198791504,450.5299987792969,703.9500122070312
|
| 59 |
+
1993-07-01,5.872671604156494,0.2049039751291275,1.453533411026001,17.638439178466797,,,,2.9742372035980225,448.1300048828125,704.7000122070312
|
| 60 |
+
1993-08-01,6.037637233734131,0.19567380845546722,1.4756313562393188,17.759246826171875,,,,2.5536391735076904,463.55999755859375,742.8400268554688
|
| 61 |
+
1993-08-05,,,,,,,,,,
|
| 62 |
+
1993-09-01,5.574150562286377,0.1733584851026535,1.620492935180664,17.849544525146484,,,,2.1931254863739014,458.92999267578125,762.780029296875
|
| 63 |
+
1993-10-01,6.105024337768555,0.22805523872375488,1.5738422870635986,19.34462547302246,,,,2.6137242317199707,467.8299865722656,779.260009765625
|
| 64 |
+
1993-11-01,7.150176048278809,0.2336171418428421,1.5713871717453003,20.107433319091797,,,,2.786593437194824,461.7900085449219,754.3900146484375
|
| 65 |
+
1993-11-04,,,,,,,,,,
|
| 66 |
+
1993-12-01,7.535686016082764,0.21771006286144257,1.5836634635925293,22.01595687866211,,,,2.68115496635437,466.45001220703125,776.7999877929688
|
| 67 |
+
1994-01-01,7.535686016082764,0.24376071989536285,1.672054648399353,24.171361923217773,,,,3.64516544342041,481.6099853515625,800.469970703125
|
| 68 |
+
1994-02-01,7.052198886871338,0.27167221903800964,1.620492935180664,23.894229888916016,,,,3.5310842990875244,467.1400146484375,792.5
|
| 69 |
+
1994-02-04,,,,,,,,,,
|
| 70 |
+
1994-03-01,7.31842041015625,0.24837146699428558,1.6646885871887207,23.706161499023438,,,,2.9274797439575195,445.7699890136719,743.4600219726562
|
| 71 |
+
1994-04-01,7.703606128692627,0.22409436106681824,1.8169171810150146,24.543949127197266,,,,3.2354440689086914,450.9100036621094,733.8400268554688
|
| 72 |
+
1994-05-01,8.440468788146973,0.21849241852760315,2.1115520000457764,24.947307586669922,,,,3.4773480892181396,456.5,735.1900024414062
|
| 73 |
+
1994-05-05,,,,,,,,,,
|
| 74 |
+
1994-06-01,7.905290126800537,0.19873161613941193,2.028071165084839,24.444643020629883,,,,3.2959203720092773,444.2699890136719,705.9600219726562
|
| 75 |
+
1994-07-01,8.325791358947754,0.2526327669620514,2.023160934448242,25.569963455200195,,,,3.756444215774536,458.260009765625,722.1599731445312
|
| 76 |
+
1994-08-01,9.217235565185547,0.27138155698776245,2.2834222316741943,26.789077758789062,,,,3.847325563430786,475.489990234375,765.6199951171875
|
| 77 |
+
1994-08-04,,,,,,,,,,
|
| 78 |
+
1994-09-01,9.405942916870117,0.25350791215896606,2.2048532962799072,26.88198471069336,,,,3.9382081031799316,462.7099914550781,764.2899780273438
|
| 79 |
+
1994-10-01,10.064526557922363,0.324998676776886,2.474935293197632,25.811735153198242,,,,4.368794918060303,472.3500061035156,777.489990234375
|
| 80 |
+
1994-11-01,9.557921409606934,0.28031668066978455,2.470024824142456,24.741479873657227,,,,4.004726409912109,453.69000244140625,750.3200073242188
|
| 81 |
+
1994-11-04,,,,,,,,,,
|
| 82 |
+
1994-12-01,9.9633207321167,0.2943686842918396,2.401276111602783,25.12115478515625,,,,3.6103241443634033,459.2699890136719,751.9600219726562
|
| 83 |
+
1995-01-01,9.77692985534668,0.3047473132610321,2.332528591156006,27.753808975219727,,,,3.5117223262786865,470.4200134277344,755.2000122070312
|
| 84 |
+
1995-02-01,10.200541496276855,0.29814332723617554,2.474935293197632,28.13443946838379,,,,4.345465660095215,487.3900146484375,793.72998046875
|
| 85 |
+
1995-02-06,,,,,,,,,,
|
| 86 |
+
1995-03-01,11.169903755187988,0.2667955756187439,2.7941226959228516,29.989917755126953,,,,6.016797065734863,500.7099914550781,817.2100219726562
|
| 87 |
+
1995-04-01,12.870043754577637,0.2895018756389618,3.2115228176116943,31.52293586730957,,,,7.08742618560791,514.7100219726562,843.97998046875
|
| 88 |
+
1995-05-01,12.649023056030273,0.31457316875457764,3.326920747756958,28.96788215637207,,,,6.326970100402832,533.4000244140625,864.5800170898438
|
| 89 |
+
1995-05-04,,,,,,,,,,
|
| 90 |
+
1995-06-01,13.091790199279785,0.3524453043937683,3.5503528118133545,30.15083122253418,,,,7.057007789611816,544.75,933.4500122070312
|
| 91 |
+
1995-07-01,14.847586631774902,0.3415350615978241,3.5552642345428467,30.697277069091797,,,,7.513277530670166,562.0599975585938,1001.2100219726562
|
| 92 |
+
1995-08-01,14.09753131866455,0.32635587453842163,3.6338343620300293,31.08300018310547,,,,6.210629463195801,561.8800048828125,1020.1099853515625
|
| 93 |
+
1995-08-08,,,,,,,,,,
|
| 94 |
+
1995-09-01,12.916881561279297,0.28348639607429504,3.5552642345428467,34.767181396484375,,,,6.301961898803711,584.4099731445312,1043.5400390625
|
| 95 |
+
1995-10-01,13.292764663696289,0.27635207772254944,3.92846941947937,33.5381965637207,,,,6.941293239593506,581.5,1036.06005859375
|
| 96 |
+
1995-11-01,13.207347869873047,0.2901458144187927,3.4226772785186768,35.478694915771484,,,,8.243063926696777,605.3699951171875,1059.199951171875
|
| 97 |
+
1995-11-08,,,,,,,,,,
|
| 98 |
+
1995-12-01,12.52143669128418,0.24333631992340088,3.447230815887451,35.68303298950195,,,,7.557409763336182,615.9299926757812,1052.1300048828125
|
| 99 |
+
1996-01-01,14.868143081665039,0.21089188754558563,3.6338343620300293,32.199371337890625,,,,4.14438533782959,636.02001953125,1059.7900390625
|
| 100 |
+
1996-02-01,16.80373764038086,0.2099376916885376,3.876908779144287,33.924922943115234,,,,4.089058876037598,640.4299926757812,1100.050048828125
|
| 101 |
+
1996-02-07,,,,,,,,,,
|
| 102 |
+
1996-03-01,15.278267860412598,0.1875123232603073,4.051232814788818,32.900360107421875,,,,3.936483860015869,645.5,1101.4000244140625
|
| 103 |
+
1996-04-01,14.797598838806152,0.1860809624195099,4.448990821838379,38.40559768676758,,,,5.248644828796387,654.1699829101562,1190.52001953125
|
| 104 |
+
1996-05-01,14.660264015197754,0.1994406133890152,4.6650567054748535,41.25652313232422,,,,4.538435459136963,669.1199951171875,1243.4300537109375
|
| 105 |
+
1996-05-08,,,,,,,,,,
|
| 106 |
+
1996-06-01,13.641029357910156,0.1603158563375473,4.719073295593262,42.07575225830078,,,,4.385625839233398,670.6300048828125,1185.02001953125
|
| 107 |
+
1996-07-01,14.812233924865723,0.1679503321647644,4.630680561065674,39.836021423339844,,,,3.7132644653320312,639.9500122070312,1080.5899658203125
|
| 108 |
+
1996-08-01,15.759532928466797,0.18512675166130066,4.812370777130127,43.394588470458984,,,,4.269299030303955,651.989990234375,1141.5
|
| 109 |
+
1996-08-07,,,,,,,,,,
|
| 110 |
+
1996-09-01,17.209583282470703,0.16938161849975586,5.180670261383057,42.40607833862305,,,,4.5600385665893555,687.3300170898438,1226.9200439453125
|
| 111 |
+
1996-10-01,17.831613540649414,0.17558389902114868,5.391822814941406,36.86507034301758,,,,4.244296073913574,705.27001953125,1221.510009765625
|
| 112 |
+
1996-11-01,22.03032875061035,0.184172585606575,6.162785530090332,38.95176315307617,,,,4.841867923736572,757.02001953125,1292.6099853515625
|
| 113 |
+
1996-11-06,,,,,,,,,,
|
| 114 |
+
1996-12-01,20.998197555541992,0.15936164557933807,6.491794109344482,41.83340072631836,,,,4.581387996673584,740.739990234375,1291.030029296875
|
| 115 |
+
1997-01-01,21.743183135986328,0.12691716849803925,8.01407527923584,46.8797492980957,,,,4.642676830291748,786.1599731445312,1379.8499755859375
|
| 116 |
+
1997-02-01,19.924028396606445,0.1240537017583847,7.660515785217285,49.97840881347656,,,,4.47982120513916,790.8200073242188,1309.0
|
| 117 |
+
1997-02-06,,,,,,,,,,
|
| 118 |
+
1997-03-01,19.067983627319336,0.13932174444198608,7.203826904296875,45.4803581237793,,,,4.924733638763428,757.1199951171875,1221.699951171875
|
| 119 |
+
1997-04-01,22.298084259033203,0.12977975606918335,9.546177864074707,49.431339263916016,,,,4.807621955871582,801.3400268554688,1260.760009765625
|
| 120 |
+
1997-05-01,24.034704208374023,0.12691716849803925,9.742606163024902,54.45485305786133,,,,5.483453750610352,848.280029296875,1400.3199462890625
|
| 121 |
+
1997-05-07,,,,,,,,,,
|
| 122 |
+
1997-05-28,,,,,,,,,,
|
| 123 |
+
1997-06-01,25.13742446899414,0.10878564417362213,9.929201126098633,63.396705627441406,0.07708299905061722,,,4.3084282875061035,885.1400146484375,1442.0699462890625
|
| 124 |
+
1997-07-01,29.45465660095215,0.1335965245962143,11.107746124267578,66.42845916748047,0.11979199945926666,,,4.592585563659668,954.3099975585938,1593.81005859375
|
| 125 |
+
1997-08-01,28.23609161376953,0.1660410314798355,10.385887145996094,60.97687911987305,0.11692699790000916,,,4.851738929748535,899.469970703125,1587.3199462890625
|
| 126 |
+
1997-08-07,,,,,,,,,,
|
| 127 |
+
1997-09-01,29.579116821289062,0.16556398570537567,10.395710945129395,67.9932632446289,0.21692700684070587,,,6.2071452140808105,947.280029296875,1685.68994140625
|
| 128 |
+
1997-10-01,27.48627281188965,0.13001829385757446,10.214018821716309,64.32245635986328,0.25416699051856995,,,5.889601707458496,914.6199951171875,1593.6099853515625
|
| 129 |
+
1997-11-01,30.555805206298828,0.13550494611263275,11.117568969726562,63.00460433959961,0.20624999701976776,,,5.180382251739502,955.4000244140625,1600.550048828125
|
| 130 |
+
1997-11-06,,,,,,,,,,
|
| 131 |
+
1997-12-01,29.25237274169922,0.10019782930612564,10.155089378356934,59.91267013549805,0.2510420083999634,,,5.087874889373779,970.4299926757812,1570.3499755859375
|
| 132 |
+
1998-01-01,27.609769821166992,0.1397988647222519,11.721570014953613,65.44635009765625,0.24583299458026886,,,4.750911235809326,980.280029296875,1619.3599853515625
|
| 133 |
+
1998-02-01,29.19993782043457,0.1803557574748993,13.317505836486816,72.36756134033203,0.3208329975605011,,,5.452751159667969,1049.3399658203125,1770.510009765625
|
| 134 |
+
1998-02-06,,,,,,,,,,
|
| 135 |
+
1998-03-01,29.10112953186035,0.2099376916885376,14.06391716003418,86.66805267333984,0.35637998580932617,,,5.576151371002197,1101.75,1835.6800537109375
|
| 136 |
+
1998-04-01,32.4630012512207,0.20898354053497314,14.162128448486328,92.79229736328125,0.3822920024394989,,,6.177727699279785,1111.75,1868.4100341796875
|
| 137 |
+
1998-05-01,32.918251037597656,0.2032574564218521,13.327329635620117,84.10579681396484,0.3671880066394806,,,4.930263519287109,1090.8199462890625,1778.8699951171875
|
| 138 |
+
1998-05-06,,,,,,,,,,
|
| 139 |
+
1998-06-01,32.225502014160156,0.2190026193857193,17.029911041259766,83.08383178710938,0.831250011920929,,,5.238887786865234,1133.8399658203125,1894.739990234375
|
| 140 |
+
1998-07-01,37.19002914428711,0.26433059573173523,17.27544403076172,86.6082992553711,0.9239580035209656,,,3.988961935043335,1120.6700439453125,1872.3900146484375
|
| 141 |
+
1998-08-01,31.611520767211914,0.23808826506137848,15.075493812561035,72.04536437988281,0.6979169845581055,,,3.2419238090515137,957.280029296875,1499.25
|
| 142 |
+
1998-08-06,,,,,,,,,,
|
| 143 |
+
1998-09-01,36.12905502319336,0.2910497486591339,17.295076370239258,69.53275299072266,0.9302080273628235,,,4.283971786499023,1017.010009765625,1693.8399658203125
|
| 144 |
+
1998-10-01,41.75224685668945,0.2834153473377228,16.637067794799805,80.36154174804688,1.0536459684371948,,,4.59221076965332,1098.6700439453125,1771.3900146484375
|
| 145 |
+
1998-11-01,46.4265251159668,0.2438134402036667,19.170928955078125,88.54693603515625,1.600000023841858,,,5.535391330718994,1163.6300048828125,1949.5400390625
|
| 146 |
+
1998-11-06,,,,,,,,,,
|
| 147 |
+
1998-12-01,51.91548538208008,0.3125200569629669,21.793180465698242,97.19573974609375,2.6770830154418945,,,5.782783031463623,1229.22998046875,2192.68994140625
|
| 148 |
+
1999-01-01,51.59874725341797,0.3144294023513794,27.499271392822266,102.47120666503906,2.92343807220459,,,5.912916660308838,1279.6400146484375,2505.889892578125
|
| 149 |
+
1999-02-01,47.797481536865234,0.2657618522644043,23.5904541015625,91.21175384521484,3.203125,,,4.984185218811035,1238.3299560546875,2288.030029296875
|
| 150 |
+
1999-02-08,,,,,,,,,,
|
| 151 |
+
1999-03-01,49.97552490234375,0.27435049414634705,28.16712188720703,88.21611785888672,4.304687976837158,,,7.027392387390137,1286.3699951171875,2461.39990234375
|
| 152 |
+
1999-04-01,58.98025894165039,0.35116779804229736,25.554689407348633,97.44929504394531,4.301562786102295,,,7.854666709899902,1335.1800537109375,2542.860107421875
|
| 153 |
+
1999-05-01,65.41220092773438,0.3363769054412842,25.35825538635254,93.19886779785156,2.96875,,,9.187017440795898,1301.8399658203125,2470.52001953125
|
| 154 |
+
1999-05-06,,,,,,,,,,
|
| 155 |
+
1999-05-27,,,,,,,,,,
|
| 156 |
+
1999-06-01,72.96644592285156,0.35355332493782043,28.343910217285156,97.96764373779297,3.128124952316284,,,10.182408332824707,1372.7099609375,2686.1201171875
|
| 157 |
+
1999-07-01,70.95524597167969,0.4251234233379364,26.96893310546875,81.35432434082031,2.50156307220459,,,10.634023666381836,1328.719970703125,2638.489990234375
|
| 158 |
+
1999-08-01,70.32015991210938,0.49812400341033936,29.090301513671875,79.7938461303711,3.109375,,,12.354691505432129,1320.4100341796875,2739.35009765625
|
| 159 |
+
1999-08-06,,,,,,,,,,
|
| 160 |
+
1999-09-01,68.37564849853516,0.48333317041397095,28.46175193786621,69.8066177368164,3.996875047683716,,,14.07535457611084,1282.7099609375,2746.159912109375
|
| 161 |
+
1999-10-01,55.519859313964844,0.6116815209388733,29.090301513671875,47.42917251586914,3.53125,,,17.35419464111328,1362.9300537109375,2966.429931640625
|
| 162 |
+
1999-11-01,58.239349365234375,0.747186541557312,28.613975524902344,45.75767135620117,4.253125190734863,,,17.044021606445312,1388.9100341796875,3336.159912109375
|
| 163 |
+
1999-11-08,,,,,,,,,,
|
| 164 |
+
1999-12-01,61.04003143310547,0.7848799824714661,36.6919059753418,37.92245101928711,3.8062500953674316,,,16.687326431274414,1469.25,4069.31005859375
|
| 165 |
+
2000-01-01,63.515560150146484,0.7920366525650024,30.75990104675293,35.14961242675781,3.2281250953674316,,,13.668244361877441,1394.4599609375,3940.35009765625
|
| 166 |
+
2000-02-01,58.14006042480469,0.8750578165054321,28.088550567626953,36.62297058105469,3.4437499046325684,,,25.31960105895996,1366.4200439453125,4696.68994140625
|
| 167 |
+
2000-02-08,,,,,,,,,,
|
| 168 |
+
2000-03-01,67.05181884765625,1.0368047952651978,33.39197540283203,43.779178619384766,3.3499999046325684,,,27.631258010864258,1498.5799560546875,4572.830078125
|
| 169 |
+
2000-04-01,63.157623291015625,0.947104275226593,21.920852661132812,45.03520965576172,2.7593750953674316,,,30.027847290039062,1452.4300537109375,3860.659912109375
|
| 170 |
+
2000-05-01,60.785640716552734,0.6412634253501892,19.661985397338867,46.097347259521484,2.4156250953674316,,,27.948402404785156,1420.5999755859375,3400.909912109375
|
| 171 |
+
2000-05-08,,,,,,,,,,
|
| 172 |
+
2000-06-01,62.13500213623047,0.7996708750724792,25.142194747924805,35.529056549072266,1.8156249523162842,,,32.277984619140625,1454.5999755859375,3966.110107421875
|
| 173 |
+
2000-07-01,63.65913009643555,0.7758141756057739,21.940492630004883,25.79067039489746,1.506250023841858,,,28.43518829345703,1430.8299560546875,3766.989990234375
|
| 174 |
+
2000-08-01,74.86860656738281,0.9304049015045166,21.940492630004883,27.82395362854004,2.075000047683716,,,32.28449630737305,1517.6800537109375,4206.35009765625
|
| 175 |
+
2000-08-08,,,,,,,,,,
|
| 176 |
+
2000-09-01,63.94328689575195,0.3931553065776825,18.95485496520996,25.980575561523438,1.921875,,,38.555137634277344,1436.510009765625,3672.820068359375
|
| 177 |
+
2000-10-01,55.92375183105469,0.29868337512016296,21.645862579345703,14.6140718460083,1.8312499523162842,,,37.785430908203125,1429.4000244140625,3369.6298828125
|
| 178 |
+
2000-11-01,53.08496856689453,0.2519250810146332,18.03167152404785,12.016016960144043,1.234375,,,31.482683181762695,1314.949951171875,2597.929931640625
|
| 179 |
+
2000-11-08,,,,,,,,,,
|
| 180 |
+
2000-12-01,48.32046127319336,0.22711420059204102,13.631781578063965,8.067792892456055,0.778124988079071,,,28.90570068359375,1320.280029296875,2470.52001953125
|
| 181 |
+
2001-01-01,63.6693229675293,0.33017459511756897,19.190568923950195,14.251648902893066,0.8656250238418579,,,21.702556610107422,1366.010009765625,2772.72998046875
|
| 182 |
+
2001-02-01,56.790767669677734,0.2786443829536438,18.54237174987793,10.536102294921875,0.5093749761581421,,,14.440549850463867,1239.93994140625,2151.830078125
|
| 183 |
+
2001-02-07,,,,,,,,,,
|
| 184 |
+
2001-03-01,54.73835754394531,0.3369686007499695,17.18704605102539,10.535667419433594,0.5115000009536743,,,17.375865936279297,1160.3299560546875,1840.260009765625
|
| 185 |
+
2001-04-01,65.52893829345703,0.38918623328208923,21.292295455932617,15.900238990783691,0.7889999747276306,,,22.32872772216797,1249.4599609375,2116.239990234375
|
| 186 |
+
2001-05-01,63.62804412841797,0.3046000301837921,21.741714477539062,17.430465698242188,0.8345000147819519,,,19.768779754638672,1255.8199462890625,2110.489990234375
|
| 187 |
+
2001-05-08,,,,,,,,,,
|
| 188 |
+
2001-06-01,64.6737060546875,0.35498547554016113,22.942251205444336,16.83243751525879,0.7074999809265137,,,23.362648010253906,1224.3800048828125,2160.5400390625
|
| 189 |
+
2001-07-01,59.949947357177734,0.28688937425613403,20.80202293395996,14.035829544067383,0.6244999766349792,,,18.640790939331055,1211.22998046875,2027.1300048828125
|
| 190 |
+
2001-08-01,56.952762603759766,0.2832247018814087,17.929533004760742,16.18165397644043,0.44699999690055847,,,16.711578369140625,1133.5799560546875,1805.4300537109375
|
| 191 |
+
2001-08-08,,,,,,,,,,
|
| 192 |
+
2001-09-01,52.33213424682617,0.23680917918682098,16.081575393676758,13.6312894821167,0.2985000014305115,,,11.92334270477295,1040.93994140625,1498.800048828125
|
| 193 |
+
2001-10-01,61.660858154296875,0.26810887455940247,18.275238037109375,12.312134742736816,0.3490000069141388,,,13.133195877075195,1059.780029296875,1690.199951171875
|
| 194 |
+
2001-11-01,65.95150756835938,0.3252120614051819,20.17975616455078,14.774558067321777,0.5659999847412109,,,15.958827018737793,1139.449951171875,1930.5799560546875
|
| 195 |
+
2001-11-07,,,,,,,,,,
|
| 196 |
+
2001-12-01,69.1006088256836,0.3343726694583893,20.820878982543945,18.32748794555664,0.5410000085830688,,,15.446427345275879,1148.0799560546875,1950.4000244140625
|
| 197 |
+
2002-01-01,61.63407897949219,0.37742963433265686,20.022619247436523,19.928070068359375,0.7095000147819519,,,16.771486282348633,1130.199951171875,1934.030029296875
|
| 198 |
+
2002-02-01,56.052799224853516,0.3313194811344147,18.334945678710938,17.07868194580078,0.7049999833106995,,,18.105239868164062,1106.72998046875,1731.489990234375
|
| 199 |
+
2002-02-06,,,,,,,,,,
|
| 200 |
+
2002-03-01,59.49020767211914,0.3613981306552887,18.95407485961914,18.907917022705078,0.7149999737739563,,,20.051130294799805,1147.3900146484375,1845.3499755859375
|
| 201 |
+
2002-04-01,47.912540435791016,0.3705587685108185,16.424144744873047,15.56605339050293,0.8345000147819519,,,19.893611907958984,1076.9200439453125,1688.22998046875
|
| 202 |
+
2002-05-01,46.01911926269531,0.35574817657470703,15.999865531921387,15.777122497558594,0.9114999771118164,,,17.971961975097656,1067.1400146484375,1615.72998046875
|
| 203 |
+
2002-05-08,,,,,,,,,,
|
| 204 |
+
2002-06-01,41.26642990112305,0.2705524265766144,17.190977096557617,10.55325984954834,0.8125,,,14.188389778137207,989.8200073242188,1463.2099609375
|
| 205 |
+
2002-07-01,40.349422454833984,0.23299239575862885,15.079033851623535,12.224191665649414,0.7225000262260437,,,11.933782577514648,911.6199951171875,1328.260009765625
|
| 206 |
+
2002-08-01,43.203697204589844,0.22520573437213898,15.424735069274902,12.329721450805664,0.746999979019165,,,10.01123046875,916.0700073242188,1314.8499755859375
|
| 207 |
+
2002-08-07,,,,,,,,,,
|
| 208 |
+
2002-09-01,33.49409484863281,0.22138899564743042,13.746496200561523,8.706437110900879,0.796500027179718,,,9.513158798217773,815.280029296875,1172.06005859375
|
| 209 |
+
2002-10-01,45.344242095947266,0.24535933136940002,16.804426193237305,11.678934097290039,0.9679999947547913,,,11.782204627990723,885.760009765625,1329.75
|
| 210 |
+
2002-11-01,49.92806625366211,0.23665708303451538,18.127525329589844,15.337401390075684,1.1675000190734863,,,14.71778678894043,936.3099975585938,1478.780029296875
|
| 211 |
+
2002-11-06,,,,,,,,,,
|
| 212 |
+
2002-12-01,44.5990104675293,0.2187930941581726,16.248149871826172,14.15894889831543,0.9445000290870667,,,12.360349655151367,879.8200073242188,1335.510009765625
|
| 213 |
+
2003-01-01,45.00184631347656,0.21925139427185059,14.91561222076416,15.56605339050293,1.0924999713897705,,,13.167760848999023,855.7000122070312,1320.9100341796875
|
| 214 |
+
2003-02-01,44.85797119140625,0.22917553782463074,14.896756172180176,15.829883575439453,1.1004999876022339,,,13.712512969970703,841.1500244140625,1337.52001953125
|
| 215 |
+
2003-02-06,,,,,,,,,,
|
| 216 |
+
2003-03-01,45.22197723388672,0.2158920168876648,15.266251564025879,15.302220344543457,1.3014999628067017,,,15.372973442077637,848.1799926757812,1341.1700439453125
|
| 217 |
+
2003-04-01,48.95253372192383,0.21711383759975433,16.123830795288086,17.342517852783203,1.434499979019165,,,17.22471046447754,916.9199829101562,1464.31005859375
|
| 218 |
+
2003-05-01,50.76301956176758,0.2740640342235565,15.518482208251953,19.224523544311523,1.7944999933242798,,,17.618791580200195,963.5900268554688,1595.9100341796875
|
| 219 |
+
2003-05-07,,,,,,,,,,
|
| 220 |
+
2003-06-01,47.655845642089844,0.29101142287254333,16.16796875,18.626508712768555,1.815999984741211,,,15.997578620910645,974.5,1622.800048828125
|
| 221 |
+
2003-07-01,46.933773040771484,0.32185351848602295,16.653514862060547,18.995861053466797,2.0820000171661377,,,16.333431243896484,990.3099975585938,1735.02001953125
|
| 222 |
+
2003-08-01,47.37279510498047,0.34521347284317017,16.722881317138672,18.960683822631836,2.315999984741211,,,19.37755012512207,1008.010009765625,1810.449951171875
|
| 223 |
+
2003-08-06,,,,,,,,,,
|
| 224 |
+
2003-09-01,51.1259651184082,0.3163566291332245,17.530014038085938,18.046072006225586,2.4214999675750732,,,19.657007217407227,995.969970703125,1786.93994140625
|
| 225 |
+
2003-10-01,51.79159927368164,0.3494885563850403,16.48325538635254,18.468202590942383,2.7214999198913574,,,21.84463119506836,1050.7099609375,1932.2099609375
|
| 226 |
+
2003-11-01,52.405128479003906,0.3192576766014099,16.303056716918945,21.423110961914062,2.698499917984009,,,20.621614456176758,1058.199951171875,1960.260009765625
|
| 227 |
+
2003-11-06,,,,,,,,,,
|
| 228 |
+
2003-12-01,53.74093246459961,0.32628077268600464,17.35569190979004,24.272485733032227,2.63100004196167,,,19.5084171295166,1111.9200439453125,2003.3699951171875
|
| 229 |
+
2004-01-01,57.53900146484375,0.3444499373435974,17.533241271972656,25.74994659423828,2.5199999809265137,,,19.119047164916992,1131.1300048828125,2066.14990234375
|
| 230 |
+
2004-02-01,55.95598602294922,0.36521488428115845,16.82303810119629,24.87051010131836,2.1505000591278076,,,18.600963592529297,1144.93994140625,2029.8199462890625
|
| 231 |
+
2004-02-06,,,,,,,,,,
|
| 232 |
+
2004-03-01,53.3401985168457,0.4128514230251312,15.808448791503906,25.6268310546875,2.1640000343322754,,,19.62464141845703,1126.2099609375,1994.219970703125
|
| 233 |
+
2004-04-01,51.208683013916016,0.39361342787742615,16.56939125061035,23.6217041015625,2.180000066757202,,,20.729951858520508,1107.300048828125,1920.1500244140625
|
| 234 |
+
2004-05-01,51.45262145996094,0.4284247159957886,16.632802963256836,23.815183639526367,2.424999952316284,,,22.293439865112305,1120.6800537109375,1986.739990234375
|
| 235 |
+
2004-05-06,,,,,,,,,,
|
| 236 |
+
2004-06-01,51.300846099853516,0.4968261420726776,18.110280990600586,25.503700256347656,2.7200000286102295,,,23.227535247802734,1140.8399658203125,2047.7900390625
|
| 237 |
+
2004-07-01,50.672325134277344,0.4937727451324463,18.065902709960938,24.378023147583008,1.9459999799728394,,,21.075881958007812,1101.719970703125,1887.3599853515625
|
| 238 |
+
2004-08-01,49.28722381591797,0.5265995860099792,17.31130027770996,23.6217041015625,1.906999945640564,,,22.91964340209961,1104.239990234375,1838.0999755859375
|
| 239 |
+
2004-08-06,,,,,,,,,,
|
| 240 |
+
2004-09-01,50.00397872924805,0.5916416049003601,17.5849609375,24.764976501464844,2.0429999828338623,,64.8648681640625,24.718441009521484,1114.5799560546875,1896.8399658203125
|
| 241 |
+
2004-10-01,52.34260559082031,0.800052285194397,17.788476943969727,25.978591918945312,1.7065000534057617,,95.41541290283203,28.003637313842773,1130.199951171875,1974.989990234375
|
| 242 |
+
2004-11-01,54.96117401123047,1.0237311124801636,17.050731658935547,26.945974349975586,1.9839999675750732,,91.0810775756836,30.26772117614746,1173.8199462890625,2096.81005859375
|
| 243 |
+
2004-11-08,,,,,,,,,,
|
| 244 |
+
2004-12-01,57.60344696044922,0.9832708239555359,18.939943313598633,29.918479919433594,2.2144999504089355,,96.49149322509766,31.357276916503906,1211.9200439453125,2175.43994140625
|
| 245 |
+
2005-01-01,54.58831024169922,1.1741228103637695,18.628063201904297,27.930959701538086,2.1610000133514404,,97.90790557861328,28.444419860839844,1181.27001953125,2062.409912109375
|
| 246 |
+
2005-02-01,54.09749221801758,1.3698610067367554,17.83417510986328,27.438472747802734,1.7589999437332153,,94.0890884399414,30.86894416809082,1203.5999755859375,2051.719970703125
|
| 247 |
+
2005-02-08,,,,,,,,,,
|
| 248 |
+
2005-03-01,53.49815368652344,1.2724499702453613,17.18527603149414,26.6469669342041,1.7135000228881836,,90.34534454345703,33.57841110229492,1180.5899658203125,1999.22998046875
|
| 249 |
+
2005-04-01,44.7164421081543,1.1011403799057007,17.988739013671875,23.305103302001953,1.6180000305175781,,110.110107421875,29.735000610351562,1156.8499755859375,1921.6500244140625
|
| 250 |
+
2005-05-01,44.23051071166992,1.2141252756118774,18.3442440032959,23.867952346801758,1.7755000591278076,,138.77377319335938,33.119998931884766,1191.5,2068.219970703125
|
| 251 |
+
2005-05-06,,,,,,,,,,
|
| 252 |
+
2005-06-01,43.555538177490234,1.124043345451355,17.71768569946289,24.254899978637695,1.6545000076293945,,147.22222900390625,28.610000610351562,1191.3299560546875,2056.9599609375
|
| 253 |
+
2005-07-01,48.991188049316406,1.3023751974105835,18.26690673828125,23.234752655029297,2.257499933242798,,144.02401733398438,29.639999389648438,1234.1800537109375,2184.830078125
|
| 254 |
+
2005-08-01,47.3240966796875,1.431849479675293,19.529403686523438,23.58652687072754,2.134999990463257,,143.1431427001953,27.040000915527344,1220.3299560546875,2152.090087890625
|
| 255 |
+
2005-08-08,,,,,,,,,,
|
| 256 |
+
2005-09-01,47.202552795410156,1.6370543241500854,18.40694236755371,24.00865936279297,2.265000104904175,,158.3883819580078,29.850000381469727,1228.81005859375,2151.68994140625
|
| 257 |
+
2005-10-01,48.1793098449707,1.7585887908935547,18.385473251342773,23.867952346801758,1.9930000305175781,,186.25625610351562,32.25,1207.010009765625,2120.300048828125
|
| 258 |
+
2005-11-01,52.309974670410156,2.0709757804870605,19.80194664001465,24.976051330566406,2.4230000972747803,,202.65765380859375,32.61000061035156,1249.47998046875,2232.820068359375
|
| 259 |
+
2005-11-08,,,,,,,,,,
|
| 260 |
+
2005-12-01,48.483585357666016,2.1952593326568604,18.762245178222656,25.76755142211914,2.3575000762939453,,207.63763427734375,36.959999084472656,1248.2900390625,2205.320068359375
|
| 261 |
+
2006-01-01,47.95273208618164,2.305800437927246,20.19721794128418,25.169517517089844,2.240999937057495,,216.5465545654297,39.72999954223633,1280.0799560546875,2305.820068359375
|
| 262 |
+
2006-02-01,47.32752227783203,2.0914342403411865,19.27882957458496,26.207246780395508,1.871999979019165,,181.49148559570312,38.54999923706055,1280.6600341796875,2281.389892578125
|
| 263 |
+
2006-02-08,,,,,,,,,,
|
| 264 |
+
2006-03-01,48.76497268676758,1.9152405261993408,19.588937759399414,26.734920501708984,1.8265000581741333,,195.1951904296875,34.95000076293945,1294.8699951171875,2339.7900390625
|
| 265 |
+
2006-04-01,48.6880989074707,2.149454355239868,17.385986328125,24.694625854492188,1.7604999542236328,,209.17918395996094,39.20000076293945,1310.6099853515625,2322.570068359375
|
| 266 |
+
2006-05-01,47.24531936645508,1.8251585960388184,16.306108474731445,24.149375915527344,1.7304999828338623,,186.09609985351562,28.6299991607666,1270.0899658203125,2178.8798828125
|
| 267 |
+
2006-05-08,,,,,,,,,,
|
| 268 |
+
2006-06-01,45.58832931518555,1.7488168478012085,16.83946990966797,24.465961456298828,1.934000015258789,,209.8748779296875,30.360000610351562,1270.199951171875,2172.090087890625
|
| 269 |
+
2006-07-01,45.938453674316406,2.075251340866089,17.388734817504883,24.78256607055664,1.344499945640564,,193.49349975585938,28.510000228881836,1276.6600341796875,2091.469970703125
|
| 270 |
+
2006-08-01,48.051090240478516,2.0718915462493896,18.574007034301758,26.048952102661133,1.5414999723434448,,189.45445251464844,32.439998626708984,1303.8199462890625,2183.75
|
| 271 |
+
2006-08-08,,,,,,,,,,
|
| 272 |
+
2006-09-01,48.820682525634766,2.350689172744751,19.839282989501953,27.368104934692383,1.6059999465942383,,201.15115356445312,37.459999084472656,1335.8499755859375,2258.429931640625
|
| 273 |
+
2006-10-01,55.01115798950195,2.475886821746826,20.82581329345703,29.90088653564453,1.9045000076293945,,238.4334259033203,38.25,1377.93994140625,2366.7099609375
|
| 274 |
+
2006-11-01,54.766883850097656,2.798962354660034,21.29731559753418,29.021446228027344,2.0169999599456787,,242.64764404296875,40.15999984741211,1400.6300048828125,2431.77001953125
|
| 275 |
+
2006-11-08,,,,,,,,,,
|
| 276 |
+
2006-12-01,58.07079315185547,2.5907039642333984,21.73406219482422,29.812957763671875,1.9730000495910645,,230.47047424316406,41.119998931884766,1418.300048828125,2415.2900390625
|
| 277 |
+
2007-01-01,59.266300201416016,2.617882013320923,22.461923599243164,30.252676010131836,1.8834999799728394,,251.00100708007812,38.869998931884766,1438.239990234375,2463.929931640625
|
| 278 |
+
2007-02-01,55.55428695678711,2.583681344985962,20.50397491455078,30.37578582763672,1.9570000171661377,,224.949951171875,39.25,1406.8199462890625,2416.14990234375
|
| 279 |
+
2007-02-07,,,,,,,,,,
|
| 280 |
+
2007-03-01,56.51309585571289,2.8371317386627197,20.3559513092041,29.707414627075195,1.9895000457763672,,229.30931091308594,41.70000076293945,1420.8599853515625,2421.639892578125
|
| 281 |
+
2007-04-01,61.27952575683594,3.0475287437438965,21.867843627929688,32.539215087890625,3.066499948501587,,235.92591857910156,41.560001373291016,1482.3699951171875,2525.090087890625
|
| 282 |
+
2007-05-01,63.91150665283203,3.700700044631958,22.415639877319336,33.18999099731445,3.4570000171661377,,249.20420837402344,44.060001373291016,1530.6199951171875,2604.52001953125
|
| 283 |
+
2007-05-08,,,,,,,,,,
|
| 284 |
+
2007-06-01,63.347747802734375,3.7266552448272705,21.59428596496582,32.5040397644043,3.4205000400543213,,261.6116027832031,40.150001525878906,1503.3499755859375,2603.22998046875
|
| 285 |
+
2007-07-01,66.59786987304688,4.023471355438232,21.242568969726562,30.70998764038086,3.927000045776367,,255.2552490234375,40.290000915527344,1455.27001953125,2546.27001953125
|
| 286 |
+
2007-08-01,70.23324584960938,4.228675365447998,21.052053451538086,30.12954330444336,3.995500087738037,,257.88287353515625,42.75,1473.989990234375,2596.360107421875
|
| 287 |
+
2007-08-08,,,,,,,,,,
|
| 288 |
+
2007-09-01,71.1520004272461,4.68641471862793,21.662628173828125,30.49891471862793,4.65749979019165,,283.9189147949219,43.65999984741211,1526.75,2701.5
|
| 289 |
+
2007-10-01,70.13726806640625,5.800380706787109,27.067256927490234,30.674802780151367,4.457499980926514,,353.8538513183594,47.900001525878906,1549.3800048828125,2859.1201171875
|
| 290 |
+
2007-11-01,63.529457092285156,5.564334392547607,24.70686912536621,29.6898193359375,4.5279998779296875,,346.8468322753906,42.13999938964844,1481.1400146484375,2660.9599609375
|
| 291 |
+
2007-11-07,,,,,,,,,,
|
| 292 |
+
2007-12-01,65.52474212646484,6.048642158508301,26.26405906677246,28.4762020111084,4.631999969482422,,346.0860900878906,42.72999954223633,1468.3599853515625,2652.280029296875
|
| 293 |
+
2008-01-01,64.92465209960938,4.133399963378906,24.050800323486328,27.21040916442871,3.884999990463257,,282.43243408203125,34.93000030517578,1378.550048828125,2389.860107421875
|
| 294 |
+
2008-02-01,69.0161361694336,3.8176541328430176,20.066930770874023,25.923078536987305,3.2235000133514404,,235.82582092285156,33.650001525878906,1330.6300048828125,2271.47998046875
|
| 295 |
+
2008-02-06,,,,,,,,,,
|
| 296 |
+
2008-03-01,70.05885314941406,4.381966590881348,21.01883316040039,26.399211883544922,3.565000057220459,,220.45545959472656,35.59000015258789,1322.699951171875,2279.10009765625
|
| 297 |
+
2008-04-01,73.44194030761719,5.311798572540283,21.122520446777344,24.706567764282227,3.93149995803833,,287.43243408203125,37.290000915527344,1385.5899658203125,2412.800048828125
|
| 298 |
+
2008-05-01,78.75386810302734,5.763737201690674,20.974388122558594,24.016834259033203,4.080999851226807,,293.1932067871094,44.060001373291016,1400.3800048828125,2522.659912109375
|
| 299 |
+
2008-05-07,,,,,,,,,,
|
| 300 |
+
2008-06-01,72.41636657714844,5.11300802230835,20.449499130249023,23.981456756591797,3.6665000915527344,,263.4734802246094,39.38999938964844,1280.0,2292.97998046875
|
| 301 |
+
2008-07-01,78.18988800048828,4.853753566741943,19.118900299072266,24.197914123535156,3.816999912261963,,237.1121063232422,41.349998474121094,1267.3800048828125,2325.550048828125
|
| 302 |
+
2008-08-01,74.37141418457031,5.176827907562256,20.285959243774414,24.712379455566406,4.040500164031982,,231.8768768310547,42.83000183105469,1282.8299560546875,2367.52001953125
|
| 303 |
+
2008-08-06,,,,,,,,,,
|
| 304 |
+
2008-09-01,71.73551177978516,3.470762014389038,19.91908073425293,20.454687118530273,3.638000011444092,,200.46046447753906,39.470001220703125,1166.3599853515625,2091.8798828125
|
| 305 |
+
2008-10-01,57.02163314819336,3.2854056358337402,16.66515350341797,14.2785062789917,2.861999988555908,,179.85986328125,26.639999389648438,968.75,1720.949951171875
|
| 306 |
+
2008-11-01,50.04803466796875,2.8298041820526123,15.090431213378906,12.444729804992676,2.134999990463257,,146.6266326904297,23.15999984741211,896.239990234375,1535.5699462890625
|
| 307 |
+
2008-11-06,,,,,,,,,,
|
| 308 |
+
2008-12-01,51.90673828125,2.6062774658203125,14.606595039367676,14.189484596252441,2.563999891281128,,153.97897338867188,21.290000915527344,903.25,1577.030029296875
|
| 309 |
+
2009-01-01,56.52627944946289,2.7522425651550293,12.848398208618164,11.888165473937988,2.940999984741211,,169.43443298339844,19.309999465942383,825.8800048828125,1476.4200439453125
|
| 310 |
+
2009-02-01,56.76066589355469,2.7272019386291504,12.13459587097168,9.274202346801758,3.239500045776367,,169.16416931152344,16.700000762939453,735.0900268554688,1377.8399658203125
|
| 311 |
+
2009-02-06,,,,,,,,,,
|
| 312 |
+
2009-03-01,60.08320999145508,3.209982395172119,13.897279739379883,8.146258354187012,3.671999931335449,,174.20420837402344,21.389999389648438,797.8699951171875,1528.5899658203125
|
| 313 |
+
2009-04-01,64.00231170654297,3.8423893451690674,15.3270902633667,11.028571128845215,4.026000022888184,,198.1831817626953,27.350000381469727,872.8099975585938,1717.300048828125
|
| 314 |
+
2009-05-01,65.90607452392578,4.147140979766846,15.803704261779785,12.274019241333008,3.8994998931884766,,208.82382202148438,28.18000030517578,919.1400146484375,1774.3299560546875
|
| 315 |
+
2009-05-06,,,,,,,,,,
|
| 316 |
+
2009-06-01,65.09091186523438,4.349293231964111,18.0966796875,11.69642448425293,4.183000087738037,,211.00601196289062,28.299999237060547,919.3200073242188,1835.0400390625
|
| 317 |
+
2009-07-01,73.51245880126953,4.989336013793945,17.906352996826172,14.879191398620605,4.288000106811523,,221.7467498779297,32.41999816894531,987.47998046875,1978.5
|
| 318 |
+
2009-08-01,73.58724975585938,5.1365203857421875,18.766645431518555,15.714898109436035,4.059500217437744,,231.06607055664062,31.420000076293945,1020.6199951171875,2009.06005859375
|
| 319 |
+
2009-08-06,,,,,,,,,,
|
| 320 |
+
2009-09-01,74.90744018554688,5.659914016723633,19.69136619567871,14.061647415161133,4.668000221252441,,248.1731719970703,33.040000915527344,1057.0799560546875,2122.419921875
|
| 321 |
+
2009-10-01,75.53370666503906,5.756102561950684,21.230228424072266,13.72740650177002,5.940499782562256,,268.3283386230469,32.939998626708984,1036.18994140625,2045.1099853515625
|
| 322 |
+
2009-11-01,79.12847900390625,6.1045241355896,22.51645278930664,14.055986404418945,6.795499801635742,,291.7917785644531,35.08000183105469,1095.6300048828125,2144.60009765625
|
| 323 |
+
2009-11-06,,,,,,,,,,
|
| 324 |
+
2009-12-01,82.34589385986328,6.434925556182861,23.438796997070312,15.443329811096191,6.72599983215332,,310.30029296875,36.779998779296875,1115.0999755859375,2269.14990234375
|
| 325 |
+
2010-01-01,76.99246215820312,5.86481237411499,21.670120239257812,15.999075889587402,6.270500183105469,,265.2352294921875,32.29999923706055,1073.8699951171875,2147.35009765625
|
| 326 |
+
2010-02-01,79.99315643310547,6.248349666595459,22.04693031311035,17.19167137145996,5.920000076293945,,263.6636657714844,34.650001525878906,1104.489990234375,2238.260009765625
|
| 327 |
+
2010-02-08,,,,,,,,,,
|
| 328 |
+
2010-03-01,81.0396728515625,7.176041126251221,22.629026412963867,17.88887596130371,6.78849983215332,,283.8438415527344,35.369998931884766,1169.4300537109375,2397.9599609375
|
| 329 |
+
2010-04-01,81.51359558105469,7.972740650177002,23.594758987426758,20.0878963470459,6.855000019073486,,263.11309814453125,33.599998474121094,1186.68994140625,2461.18994140625
|
| 330 |
+
2010-05-01,79.1503677368164,7.84417724609375,19.932706832885742,17.157638549804688,6.2729997634887695,,243.0580596923828,32.08000183105469,1089.4100341796875,2257.0400390625
|
| 331 |
+
2010-05-06,,,,,,,,,,
|
| 332 |
+
2010-06-01,78.42550659179688,7.680809020996094,17.857412338256836,14.817129135131836,5.4629998207092285,,222.69769287109375,26.43000030517578,1030.7099609375,2109.239990234375
|
| 333 |
+
2010-07-01,81.55033874511719,7.855478763580322,20.03040885925293,18.038850784301758,5.894499778747559,,242.66766357421875,28.719999313354492,1101.5999755859375,2254.699951171875
|
| 334 |
+
2010-08-01,78.20323944091797,7.4233856201171875,18.214401245117188,15.64971923828125,6.241499900817871,,225.2352294921875,27.700000762939453,1049.3299560546875,2114.030029296875
|
| 335 |
+
2010-08-06,,,,,,,,,,
|
| 336 |
+
2010-09-01,85.6181411743164,8.664690971374512,19.10737419128418,19.168588638305664,7.853000164031982,,263.1581726074219,26.149999618530273,1141.199951171875,2368.6201171875
|
| 337 |
+
2010-10-01,91.65619659423828,9.190831184387207,20.808244705200195,21.757949829101562,8.261500358581543,,307.15716552734375,28.149999618530273,1183.260009765625,2507.409912109375
|
| 338 |
+
2010-11-01,90.290283203125,9.501388549804688,19.70814323425293,21.311634063720703,8.770000457763672,,278.1331481933594,27.799999237060547,1180.550048828125,2498.22998046875
|
| 339 |
+
2010-11-08,,,,,,,,,,
|
| 340 |
+
2010-12-01,94.08943176269531,9.84980583190918,21.909496307373047,21.423206329345703,9.0,,297.28228759765625,30.780000686645508,1257.6400146484375,2652.8701171875
|
| 341 |
+
2011-01-01,103.8599853515625,10.361597061157227,21.76820182800293,19.823131561279297,8.482000350952148,,300.48046875,33.04999923706055,1286.1199951171875,2700.080078125
|
| 342 |
+
2011-02-01,103.78302001953125,10.785745620727539,20.865453720092773,20.065792083740234,8.66450023651123,,307.00701904296875,34.5,1327.219970703125,2782.27001953125
|
| 343 |
+
2011-02-08,,,,,,,,,,
|
| 344 |
+
2011-03-01,104.95984649658203,10.64222526550293,20.04909324645996,19.879127502441406,9.006500244140625,,293.6736755371094,33.15999984741211,1325.8299560546875,2781.070068359375
|
| 345 |
+
2011-04-01,109.79368591308594,10.691693305969238,20.467607498168945,18.910266876220703,9.790499687194824,,272.32232666015625,33.54999923706055,1363.6099853515625,2873.5400390625
|
| 346 |
+
2011-05-01,108.73165130615234,10.621461868286133,19.7490291595459,19.135168075561523,9.834500312805176,,264.7747802734375,34.630001068115234,1345.199951171875,2835.300048828125
|
| 347 |
+
2011-05-06,,,,,,,,,,
|
| 348 |
+
2011-06-01,110.91179656982422,10.25013542175293,20.665348052978516,19.510000228881836,10.224499702453613,,253.4434356689453,31.450000762939453,1320.6400146484375,2773.52001953125
|
| 349 |
+
2011-07-01,117.571044921875,11.923834800720215,21.778095245361328,17.562105178833008,11.12600040435791,,302.14715576171875,27.709999084472656,1292.280029296875,2756.3798828125
|
| 350 |
+
2011-08-01,111.14454650878906,11.75130844116211,21.142244338989258,15.623312950134277,10.761500358581543,,270.7507629394531,25.239999771118164,1218.8900146484375,2579.4599609375
|
| 351 |
+
2011-08-08,,,,,,,,,,
|
| 352 |
+
2011-09-01,113.55061340332031,11.644124984741211,19.90796661376953,13.119815826416016,10.81149959564209,,257.77777099609375,24.170000076293945,1131.4200439453125,2415.39990234375
|
| 353 |
+
2011-10-01,119.88819122314453,12.360504150390625,21.299680709838867,15.485393524169922,10.67549991607666,,296.6166076660156,29.40999984741211,1253.300048828125,2684.409912109375
|
| 354 |
+
2011-11-01,122.07645416259766,11.670994758605957,20.459848403930664,15.42860221862793,9.614500045776367,,299.9949951171875,27.420000076293945,1246.9599609375,2620.340087890625
|
| 355 |
+
2011-11-08,,,,,,,,,,
|
| 356 |
+
2011-12-01,119.88117218017578,12.367225646972656,20.92014503479004,15.068914413452148,8.654999732971191,,323.2732849121094,28.270000457763672,1257.5999755859375,2605.14990234375
|
| 357 |
+
2012-01-01,125.56623077392578,13.939234733581543,23.79706382751465,14.749091148376465,9.722000122070312,,290.3453369140625,30.950000762939453,1312.4100341796875,2813.840087890625
|
| 358 |
+
2012-02-01,128.25875854492188,16.564136505126953,25.57801628112793,15.662582397460938,8.98449993133545,,309.4344482421875,32.88999938964844,1365.6800537109375,2966.889892578125
|
| 359 |
+
2012-02-08,,,,,,,,,,
|
| 360 |
+
2012-03-01,136.5597381591797,18.308074951171875,26.1682071685791,15.377117156982422,10.125499725341797,,320.9409484863281,34.310001373291016,1408.469970703125,3091.570068359375
|
| 361 |
+
2012-04-01,135.53221130371094,17.83262062072754,25.97353172302246,14.882647514343262,11.595000267028809,,302.72772216796875,33.54999923706055,1397.9100341796875,3046.360107421875
|
| 362 |
+
2012-05-01,126.25150299072266,17.64176368713379,23.677928924560547,13.811394691467285,10.645500183105469,,290.7207336425781,31.049999237060547,1310.3299560546875,2827.340087890625
|
| 363 |
+
2012-05-08,,,,,,,,,,
|
| 364 |
+
2012-06-01,128.5418243408203,17.83323097229004,24.976381301879883,15.054808616638184,11.417499542236328,,290.3253173828125,32.369998931884766,1362.1600341796875,2935.050048828125
|
| 365 |
+
2012-07-01,128.80467224121094,18.650381088256836,24.06191635131836,13.332178115844727,11.664999961853027,,316.8017883300781,30.8799991607666,1379.3199462890625,2939.52001953125
|
| 366 |
+
2012-08-01,128.06199645996094,20.314008712768555,25.1641845703125,14.178669929504395,12.41349983215332,,342.88787841796875,31.270000457763672,1406.5799560546875,3066.9599609375
|
| 367 |
+
2012-08-08,,,,,,,,,,
|
| 368 |
+
2012-09-01,136.92532348632812,20.458269119262695,24.459667205810547,14.120949745178223,12.715999603271484,,377.62762451171875,32.439998626708984,1440.6700439453125,3116.22998046875
|
| 369 |
+
2012-10-01,128.39756774902344,18.256948471069336,23.456958770751953,12.4627103805542,11.644499778747559,,340.490478515625,34.029998779296875,1412.1600341796875,2977.22998046875
|
| 370 |
+
2012-11-01,125.45381927490234,17.94904899597168,21.878910064697266,13.178736686706543,12.602499961853027,,349.5345458984375,34.61000061035156,1416.1800537109375,3010.239990234375
|
| 371 |
+
2012-11-07,,,,,,,,,,
|
| 372 |
+
2012-12-01,126.98394775390625,16.39484405517578,22.13326644897461,13.19808578491211,12.543499946594238,,354.0440368652344,37.68000030517578,1426.18994140625,3019.510009765625
|
| 373 |
+
2013-01-01,134.6208953857422,14.03252124786377,22.746475219726562,15.598185539245605,13.274999618530273,,378.2232360839844,37.83000183105469,1498.1099853515625,3142.1298828125
|
| 374 |
+
2013-02-01,133.1359405517578,13.598445892333984,23.036500930786133,15.79291820526123,13.213500022888184,,401.0010070800781,39.310001373291016,1514.6800537109375,3160.18994140625
|
| 375 |
+
2013-02-06,,,,,,,,,,
|
| 376 |
+
2013-03-01,141.99786376953125,13.716739654541016,23.903995513916016,16.74711036682129,13.32450008392334,,397.49249267578125,43.52000045776367,1569.18994140625,3267.52001953125
|
| 377 |
+
2013-04-01,134.8347625732422,13.720457077026367,27.655447006225586,16.822824478149414,12.690500259399414,,412.69769287109375,45.08000183105469,1597.5699462890625,3328.7900390625
|
| 378 |
+
2013-05-01,138.48284912109375,13.935823440551758,29.15936851501465,17.234567642211914,13.460000038146973,,436.0460510253906,42.90999984741211,1630.739990234375,3455.909912109375
|
| 379 |
+
2013-05-08,,,,,,,,,,
|
| 380 |
+
2013-06-01,127.82191467285156,12.368638038635254,29.060949325561523,17.783567428588867,13.884499549865723,,440.6256408691406,45.560001373291016,1606.280029296875,3403.25
|
| 381 |
+
2013-07-01,130.45040893554688,14.115401268005371,26.789243698120117,19.142587661743164,15.060999870300293,,444.3193054199219,47.279998779296875,1685.72998046875,3626.3701171875
|
| 382 |
+
2013-08-01,121.90938568115234,15.19745922088623,28.101774215698242,19.695158004760742,14.048999786376953,,423.8738708496094,45.75,1632.969970703125,3589.8701171875
|
| 383 |
+
2013-08-07,,,,,,,,,,
|
| 384 |
+
2013-09-01,124.47478485107422,14.96906566619873,28.19812774658203,20.306934356689453,15.631999969482422,,438.3934020996094,51.939998626708984,1681.550048828125,3771.47998046875
|
| 385 |
+
2013-10-01,120.46192169189453,16.41180992126465,30.002870559692383,19.72601890563965,18.201499938964844,,515.8057861328125,54.220001220703125,1756.5400390625,3919.7099609375
|
| 386 |
+
2013-11-01,120.77778625488281,17.45956802368164,32.30753707885742,22.58371353149414,19.680999755859375,,530.3253173828125,56.779998779296875,1805.81005859375,4059.889892578125
|
| 387 |
+
2013-11-06,,,,,,,,,,
|
| 388 |
+
2013-12-01,126.7584228515625,17.71782684326172,31.937856674194336,24.151473999023438,19.93950080871582,,560.9158935546875,59.880001068115234,1848.3599853515625,4176.58984375
|
| 389 |
+
2014-01-01,119.39906311035156,15.80967903137207,32.304969787597656,21.634523391723633,17.934499740600586,,591.0760498046875,59.189998626708984,1782.5899658203125,4103.8798828125
|
| 390 |
+
2014-02-01,125.13655090332031,16.61942481994629,32.70622634887695,21.913677215576172,18.104999542236328,,608.4334106445312,68.62999725341797,1859.449951171875,4308.1201171875
|
| 391 |
+
2014-02-06,,,,,,,,,,
|
| 392 |
+
2014-03-01,130.79644775390625,17.052499771118164,35.256614685058594,22.53180694580078,16.818500518798828,,557.8128051757812,65.73999786376953,1872.3399658203125,4198.990234375
|
| 393 |
+
2014-04-01,133.50091552734375,18.747455596923828,34.7491340637207,24.246538162231445,15.206500053405762,,534.8800048828125,61.689998626708984,1883.949951171875,4114.56005859375
|
| 394 |
+
2014-05-01,125.27215576171875,20.11072540283203,35.21359634399414,24.767969131469727,15.6274995803833,,571.6500244140625,64.54000091552734,1923.5699462890625,4242.6201171875
|
| 395 |
+
2014-05-07,,,,,,,,,,
|
| 396 |
+
2014-06-01,123.88963317871094,20.782461166381836,36.12032699584961,24.94846534729004,16.23900032043457,,584.6699829101562,72.36000061035156,1960.22998046875,4408.18017578125
|
| 397 |
+
2014-07-01,130.99761962890625,21.37957000732422,37.38497543334961,26.72607421875,15.649499893188477,,579.5499877929688,69.25,1930.6700439453125,4369.77001953125
|
| 398 |
+
2014-08-01,131.4281463623047,22.922651290893555,39.35124206542969,27.834640502929688,16.95199966430664,,582.3599853515625,71.9000015258789,2003.3699951171875,4580.27001953125
|
| 399 |
+
2014-08-06,,,,,,,,,,
|
| 400 |
+
2014-09-01,130.50729370117188,22.643360137939453,40.40761947631836,26.66560935974121,16.121999740600586,,588.4099731445312,69.19000244140625,1972.2900390625,4493.39013671875
|
| 401 |
+
2014-10-01,113.0242691040039,24.27278709411621,40.92185974121094,26.89417266845703,15.27299976348877,,567.8699951171875,70.12000274658203,2018.050048828125,4630.740234375
|
| 402 |
+
2014-11-01,111.49117279052734,26.729284286499023,41.67144012451172,28.27128028869629,16.93199920654297,,549.0800170898438,73.68000030517578,2067.56005859375,4791.6298828125
|
| 403 |
+
2014-11-06,,,,,,,,,,
|
| 404 |
+
2014-12-01,111.05672454833984,24.915250778198242,40.74142074584961,28.068769454956055,15.517499923706055,,530.6599731445312,72.69999694824219,2058.89990234375,4736.0498046875
|
| 405 |
+
2015-01-01,106.12132263183594,26.445661544799805,35.434940338134766,26.79075813293457,17.726499557495117,,537.5499877929688,70.12999725341797,1994.989990234375,4635.240234375
|
| 406 |
+
2015-02-01,112.09505462646484,28.996322631835938,38.460933685302734,27.767194747924805,19.007999420166016,,562.6300048828125,79.0999984741211,2104.5,4963.52978515625
|
| 407 |
+
2015-02-06,,,,,,,,,,
|
| 408 |
+
2015-03-01,111.87759399414062,28.197509765625,35.91679000854492,26.139816284179688,18.604999542236328,,554.7000122070312,73.94000244140625,2067.889892578125,4900.8798828125
|
| 409 |
+
2015-04-01,119.3988265991211,28.360668182373047,42.96587371826172,23.521541595458984,21.089000701904297,,548.77001953125,76.05999755859375,2085.510009765625,4941.419921875
|
| 410 |
+
2015-05-01,118.25563049316406,29.523195266723633,41.39352035522461,23.3579158782959,21.46150016784668,,545.3200073242188,79.08999633789062,2107.389892578125,5070.02978515625
|
| 411 |
+
2015-05-06,,,,,,,,,,
|
| 412 |
+
2015-06-01,114.24130249023438,28.542850494384766,39.253108978271484,21.762542724609375,21.704500198364258,,540.0399780273438,81.01000213623047,2063.110107421875,4986.8701171875
|
| 413 |
+
2015-07-01,113.77072143554688,27.60302734375,41.520286560058594,22.683992385864258,26.8075008392334,,657.5,81.98999786376953,2103.840087890625,5128.27978515625
|
| 414 |
+
2015-08-01,103.86784362792969,25.65966796875,38.692989349365234,20.93431854248047,25.644500732421875,,647.8200073242188,78.56999969482422,1972.1800537109375,4776.509765625
|
| 415 |
+
2015-08-06,,,,,,,,,,
|
| 416 |
+
2015-09-01,102.66226959228516,25.21347999572754,39.61040496826172,20.028608322143555,25.594499588012695,,638.3699951171875,82.22000122070312,1920.030029296875,4620.16015625
|
| 417 |
+
2015-10-01,99.1993637084961,27.31651496887207,47.11008071899414,19.46390151977539,31.295000076293945,,737.3900146484375,88.66000366210938,2079.360107421875,5053.75
|
| 418 |
+
2015-11-01,98.7319564819336,27.042200088500977,48.64043045043945,21.868392944335938,33.2400016784668,,762.8499755859375,91.45999908447266,2080.409912109375,5108.669921875
|
| 419 |
+
2015-11-06,,,,,,,,,,
|
| 420 |
+
2015-12-01,98.37144470214844,24.16438102722168,49.98638916015625,22.03421974182129,33.794498443603516,,778.010009765625,93.94000244140625,2043.93994140625,5007.41015625
|
| 421 |
+
2016-01-01,89.20050811767578,22.3461971282959,49.63501739501953,20.343839645385742,29.350000381469727,,761.3499755859375,89.12999725341797,1940.239990234375,4613.9501953125
|
| 422 |
+
2016-02-01,93.6608657836914,22.196985244750977,45.841888427734375,20.051719665527344,27.625999450683594,,717.219970703125,85.1500015258789,1932.22998046875,4557.9501953125
|
| 423 |
+
2016-02-08,,,,,,,,,,
|
| 424 |
+
2016-03-01,109.36297607421875,25.15644073486328,50.11842727661133,23.285871505737305,29.68199920654297,,762.9000244140625,93.80000305175781,2059.739990234375,4869.85009765625
|
| 425 |
+
2016-04-01,105.3841552734375,21.636524200439453,45.25450134277344,20.178363800048828,32.97949981689453,,707.8800048828125,94.22000122070312,2065.300048828125,4775.35986328125
|
| 426 |
+
2016-05-01,111.01663208007812,23.049110412597656,48.094825744628906,20.956079483032227,36.13949966430664,,748.8499755859375,99.47000122070312,2096.949951171875,4948.0498046875
|
| 427 |
+
2016-05-06,,,,,,,,,,
|
| 428 |
+
2016-06-01,110.65898895263672,22.20018196105957,46.75897216796875,19.947153091430664,35.78099822998047,,703.530029296875,95.79000091552734,2098.860107421875,4842.669921875
|
| 429 |
+
2016-07-01,117.10401916503906,24.199600219726562,51.79398727416992,21.839828491210938,37.94049835205078,,791.3400268554688,97.86000061035156,2173.60009765625,5162.1298828125
|
| 430 |
+
2016-08-01,115.83541107177734,24.638490676879883,52.506752014160156,20.885658264160156,38.45800018310547,,789.8499755859375,102.30999755859375,2170.949951171875,5213.22021484375
|
| 431 |
+
2016-08-08,,,,,,,,,,
|
| 432 |
+
2016-09-01,116.81381225585938,26.394628524780273,52.96271896362305,21.479366302490234,41.865501403808594,13.321450233459473,804.0599975585938,108.54000091552734,2168.27001953125,5312.0
|
| 433 |
+
2016-10-01,113.019287109375,26.509033203125,55.095947265625,20.878395080566406,39.49100112915039,13.680961608886719,809.9000244140625,107.51000213623047,2126.14990234375,5189.14013671875
|
| 434 |
+
2016-11-01,119.29200744628906,25.803936004638672,55.40858840942383,19.980859756469727,37.528499603271484,14.926712036132812,775.8800048828125,102.80999755859375,2198.81005859375,5323.68017578125
|
| 435 |
+
2016-11-08,,,,,,,,,,
|
| 436 |
+
2016-12-01,123.1717300415039,27.180198669433594,57.52321243286133,18.655929565429688,37.493499755859375,15.31966781616211,792.4500122070312,102.94999694824219,2238.830078125,5383.1201171875
|
| 437 |
+
2017-01-01,129.5013427734375,28.47795867919922,59.84672927856445,22.670724868774414,41.17399978637695,17.554771423339844,820.1900024414062,113.37999725341797,2278.8701171875,5614.7900390625
|
| 438 |
+
2017-02-01,133.43417358398438,32.148292541503906,59.22650909423828,24.339130401611328,42.25199890136719,17.69411849975586,844.9299926757812,118.33999633789062,2363.639892578125,5825.43994140625
|
| 439 |
+
2017-02-08,,,,,,,,,,
|
| 440 |
+
2017-03-01,130.24111938476562,33.85976028442383,61.33644485473633,24.011991500854492,44.32699966430664,17.858545303344727,847.7999877929688,130.1300048828125,2362.719970703125,5911.740234375
|
| 441 |
+
2017-04-01,119.88253784179688,33.85739517211914,63.75787353515625,23.72492027282715,46.2495002746582,18.70298194885254,924.52001953125,133.74000549316406,2384.199951171875,6047.60986328125
|
| 442 |
+
2017-05-01,114.1535415649414,36.00456237792969,65.0430908203125,23.328956604003906,49.73099899291992,19.338397979736328,987.0900268554688,141.86000061035156,2411.800048828125,6198.52001953125
|
| 443 |
+
2017-05-08,,,,,,,,,,
|
| 444 |
+
2017-06-01,116.17494201660156,34.084716796875,64.56354522705078,23.700172424316406,48.400001525878906,17.030832290649414,929.6799926757812,141.44000244140625,2423.409912109375,6140.419921875
|
| 445 |
+
2017-07-01,109.25714874267578,35.19940948486328,68.0947265625,25.520694732666016,49.388999938964844,17.911497116088867,945.5,146.49000549316406,2470.300048828125,6348.1201171875
|
| 446 |
+
2017-08-01,108.01860809326172,38.81330490112305,70.03360748291016,26.852062225341797,49.029998779296875,20.882347106933594,955.239990234375,155.16000366210938,2471.64990234375,6428.66015625
|
| 447 |
+
2017-08-08,,,,,,,,,,
|
| 448 |
+
2017-09-01,110.72441864013672,36.6182861328125,70.14307403564453,27.700807571411133,48.067501068115234,21.517763137817383,973.719970703125,149.17999267578125,2519.360107421875,6495.9599609375
|
| 449 |
+
2017-10-01,117.57792663574219,40.163211822509766,78.32596588134766,25.408233642578125,55.263999938964844,23.067289352416992,1033.0400390625,175.16000366210938,2575.260009765625,6727.669921875
|
| 450 |
+
2017-11-01,117.50923919677734,40.83085632324219,79.2582015991211,24.86334991455078,58.837501525878906,21.80481719970703,1036.1700439453125,181.47000122070312,2647.580078125,6873.97021484375
|
| 451 |
+
2017-11-09,,,,,,,,,,
|
| 452 |
+
2017-12-01,118.25981140136719,40.3528938293457,80.95279693603516,24.43583106994629,58.4734992980957,22.65203857421875,1053.4000244140625,175.24000549316406,2673.610107421875,6903.39013671875
|
| 453 |
+
2018-01-01,126.18390655517578,39.9236946105957,89.91493225097656,28.855159759521484,72.54450225830078,19.982173919677734,1182.219970703125,199.75999450683594,2823.81005859375,7411.47998046875
|
| 454 |
+
2018-02-01,120.11751556396484,42.472713470458984,88.74141693115234,25.634004592895508,75.62249755859375,20.7039852142334,1103.9200439453125,209.1300048828125,2713.830078125,7273.009765625
|
| 455 |
+
2018-02-08,,,,,,,,,,
|
| 456 |
+
2018-03-01,119.43197631835938,40.170265197753906,86.7812271118164,24.33201026916504,72.36699676513672,20.402997970581055,1037.1400146484375,216.0800018310547,2640.8701171875,7063.4501953125
|
| 457 |
+
2018-04-01,112.83880615234375,39.566917419433594,88.92057037353516,26.82056999206543,78.30650329589844,20.00168228149414,1018.5800170898438,221.60000610351562,2648.050048828125,7066.27001953125
|
| 458 |
+
2018-05-01,109.99760437011719,44.7408332824707,93.97891998291016,23.179109573364258,81.48100280761719,22.479249954223633,1100.0,249.27999877929688,2705.27001953125,7442.1201171875
|
| 459 |
+
2018-05-09,,,,,,,,,,
|
| 460 |
+
2018-06-01,109.95153045654297,44.4903450012207,94.16664123535156,20.467208862304688,84.98999786376953,23.571720123291016,1129.18994140625,243.80999755859375,2718.3701171875,7510.2998046875
|
| 461 |
+
2018-07-01,114.06781768798828,45.73533630371094,101.30004119873047,22.375450134277344,88.87200164794922,25.784528732299805,1227.219970703125,244.67999267578125,2816.2900390625,7671.7900390625
|
| 462 |
+
2018-08-01,115.2877197265625,54.709842681884766,107.2684097290039,24.00385284423828,100.635498046875,26.8017520904541,1231.800048828125,263.510009765625,2901.52001953125,8109.5400390625
|
| 463 |
+
2018-08-09,,,,,,,,,,
|
| 464 |
+
2018-09-01,120.2962646484375,54.445865631103516,109.63678741455078,23.24565315246582,100.1500015258789,27.066509246826172,1207.0799560546875,269.95001220703125,2913.97998046875,8046.35009765625
|
| 465 |
+
2018-10-01,91.83122253417969,52.78649139404297,102.38966369628906,24.236047744750977,79.90049743652344,25.190916061401367,1090.5799560546875,245.75999450683594,2711.739990234375,7305.89990234375
|
| 466 |
+
2018-11-01,98.86396026611328,43.07142639160156,106.3008041381836,23.4099178314209,84.50849914550781,29.396371841430664,1109.6500244140625,250.88999938964844,2760.169921875,7330.5400390625
|
| 467 |
+
2018-11-08,,,,,,,,,,
|
| 468 |
+
2018-12-01,91.58279418945312,38.17780685424805,97.78714752197266,17.18350601196289,75.09850311279297,24.59708595275879,1044.9599609375,226.24000549316406,2506.85009765625,6635.27978515625
|
| 469 |
+
2019-01-01,108.30086517333984,40.28346252441406,100.5406265258789,24.84735679626465,85.9365005493164,24.456159591674805,1125.8900146484375,247.82000732421875,2704.10009765625,7281.740234375
|
| 470 |
+
2019-02-01,111.28997039794922,41.90748596191406,107.85758972167969,27.216707229614258,81.99150085449219,28.095136642456055,1126.550048828125,262.5,2784.489990234375,7532.52978515625
|
| 471 |
+
2019-02-07,,,,,,,,,,
|
| 472 |
+
2019-03-01,115.00740814208984,46.17075729370117,114.03240966796875,28.167972564697266,89.0374984741211,29.539655685424805,1176.8900146484375,266.489990234375,2834.39990234375,7729.31982421875
|
| 473 |
+
2019-04-01,114.33090209960938,48.77644348144531,126.27296447753906,29.61660385131836,96.32599639892578,33.9285774230957,1198.9599609375,289.25,2945.830078125,8095.39013671875
|
| 474 |
+
2019-05-01,103.50668334960938,42.55390930175781,119.58222198486328,27.175188064575195,88.75350189208984,29.972509384155273,1106.5,270.8999938964844,2752.06005859375,7453.14990234375
|
| 475 |
+
2019-05-09,,,,,,,,,,
|
| 476 |
+
2019-06-01,113.73433685302734,48.293270111083984,130.00108337402344,31.43656349182129,94.68150329589844,25.56848907470703,1082.800048828125,294.6499938964844,2941.760009765625,8006.240234375
|
| 477 |
+
2019-07-01,122.26231384277344,51.98261260986328,132.24281311035156,28.701255798339844,93.33899688720703,29.061506271362305,1218.199951171875,298.8599853515625,2980.3798828125,8175.419921875
|
| 478 |
+
2019-08-01,111.7796401977539,50.93339920043945,133.78579711914062,25.92054557800293,88.81449890136719,25.9359073638916,1190.530029296875,284.510009765625,2926.4599609375,7962.8798828125
|
| 479 |
+
2019-08-08,,,,,,,,,,
|
| 480 |
+
2019-09-01,121.34967803955078,54.85721969604492,135.37051391601562,26.743131637573242,86.79550170898438,26.10200309753418,1221.1400146484375,276.25,2976.739990234375,7999.33984375
|
| 481 |
+
2019-10-01,111.59463500976562,60.929054260253906,139.59625244140625,30.58913803100586,88.83300018310547,26.620418548583984,1258.800048828125,277.92999267578125,3037.56005859375,8292.3603515625
|
| 482 |
+
2019-11-01,112.19547271728516,65.45783996582031,147.39544677734375,35.09682083129883,90.04000091552734,24.40582847595215,1304.0899658203125,309.5299987792969,3140.97998046875,8665.4697265625
|
| 483 |
+
2019-11-07,,,,,,,,,,
|
| 484 |
+
2019-12-01,113.17443084716797,72.13994598388672,154.07154846191406,33.23965072631836,92.39199829101562,25.86544418334961,1339.3900146484375,329.80999755859375,3230.780029296875,8972.599609375
|
| 485 |
+
2020-01-01,121.35601806640625,76.03622436523438,166.31326293945312,32.28398132324219,100.43599700927734,24.546754837036133,1432.780029296875,351.1400146484375,3225.52001953125,9150.9404296875
|
| 486 |
+
2020-02-01,109.88997650146484,67.1553726196289,158.28240966796875,29.225305557250977,94.1875,20.364192962646484,1339.25,345.1199951171875,2954.219970703125,8567.3701171875
|
| 487 |
+
2020-02-07,,,,,,,,,,
|
| 488 |
+
2020-03-01,94.6399154663086,62.61878204345703,154.502197265625,17.190288543701172,97.48600006103516,19.90617561340332,1161.949951171875,318.239990234375,2584.590087890625,7700.10009765625
|
| 489 |
+
2020-04-01,107.12150573730469,72.34808349609375,175.5648956298828,16.6003360748291,123.69999694824219,21.486589431762695,1346.699951171875,353.6400146484375,2912.429931640625,8889.5498046875
|
| 490 |
+
2020-05-01,106.55841827392578,78.29256439208984,179.52272033691406,14.412978172302246,122.11849975585938,24.98464012145996,1433.52001953125,386.6000061035156,3044.31005859375,9489.8701171875
|
| 491 |
+
2020-05-07,,,,,,,,,,
|
| 492 |
+
2020-06-01,104.41674041748047,90.0749740600586,199.92588806152344,13.877481460571289,137.9409942626953,27.652219772338867,1418.050048828125,435.30999755859375,3100.2900390625,10058.76953125
|
| 493 |
+
2020-07-01,106.29290008544922,104.9491958618164,201.3994598388672,15.366937637329102,158.23399353027344,30.11343765258789,1487.949951171875,444.32000732421875,3271.1201171875,10745.26953125
|
| 494 |
+
2020-08-01,106.61280059814453,127.44819641113281,221.55807495117188,17.406635284423828,172.54800415039062,33.25917053222656,1629.530029296875,513.3900146484375,3500.31005859375,11775.4599609375
|
| 495 |
+
2020-08-07,,,,,,,,,,
|
| 496 |
+
2020-09-01,106.57222747802734,114.5876235961914,207.12527465820312,17.323570251464844,157.43649291992188,34.06950759887695,1465.5999755859375,490.42999267578125,3363.0,11167.509765625
|
| 497 |
+
2020-10-01,97.80435180664062,107.71099090576172,199.38504028320312,16.259458541870117,151.8074951171875,30.329862594604492,1616.1099853515625,447.1000061035156,3269.9599609375,10911.58984375
|
| 498 |
+
2020-11-01,108.19266510009766,117.79344177246094,210.8082733154297,20.478687286376953,158.40199279785156,34.74394989013672,1754.4000244140625,478.4700012207031,3621.6298828125,12198.740234375
|
| 499 |
+
2020-11-09,,,,,,,,,,
|
| 500 |
+
2020-12-01,111.85865020751953,131.51597595214844,219.60447692871094,21.694869995117188,162.84649658203125,36.88808059692383,1752.6400146484375,500.1199951171875,3756.070068359375,12888.2802734375
|
| 501 |
+
2021-01-01,105.84272766113281,130.7924346923828,229.0237274169922,19.891191482543945,160.30999755859375,36.6867561340332,1827.3599853515625,458.7699890136719,3714.239990234375,13070.6904296875
|
| 502 |
+
2021-02-01,105.68277740478516,120.18710327148438,229.4384002685547,24.100215911865234,154.64649963378906,40.80388259887695,2021.9100341796875,459.6700134277344,3811.14990234375,13192.349609375
|
| 503 |
+
2021-02-09,,,,,,,,,,
|
| 504 |
+
2021-03-01,119.9990005493164,121.25013732910156,233.32164001464844,22.955739974975586,154.70399475097656,44.367366790771484,2062.52001953125,475.3699951171875,3972.889892578125,13246.8701171875
|
| 505 |
+
2021-04-01,127.76121520996094,130.49156188964844,249.56121826171875,23.070621490478516,173.37100219726562,49.49113082885742,2353.5,508.3399963378906,4181.169921875,13962.6796875
|
| 506 |
+
2021-05-01,129.4361114501953,123.6920166015625,247.08718872070312,22.41118812561035,161.15350341796875,49.64715576171875,2356.85009765625,504.5799865722656,4204.10986328125,13748.740234375
|
| 507 |
+
2021-05-07,,,,,,,,,,
|
| 508 |
+
2021-06-01,133.47738647460938,136.1819610595703,268.70587158203125,22.44941520690918,172.00799560546875,50.16557312011719,2441.7900390625,585.6400146484375,4297.5,14503.9501953125
|
| 509 |
+
2021-07-01,128.35101318359375,145.03138732910156,282.6023864746094,23.305561065673828,166.37950134277344,48.63045883178711,2694.530029296875,621.6300048828125,4395.259765625,14672.6796875
|
| 510 |
+
2021-08-01,127.78646087646484,150.96749877929688,299.4349365234375,21.74091148376465,173.5395050048828,49.053245544433594,2893.949951171875,663.7000122070312,4522.68017578125,15259.240234375
|
| 511 |
+
2021-08-09,,,,,,,,,,
|
| 512 |
+
2021-09-01,127.95899963378906,140.906982421875,280.1719665527344,19.48086166381836,164.2519989013672,52.36507034301758,2673.52001953125,575.719970703125,4307.5400390625,14448.580078125
|
| 513 |
+
2021-10-01,115.22111511230469,149.1721954345703,329.56378173828125,17.397972106933594,168.6215057373047,55.35980224609375,2960.919921875,650.3599853515625,4605.3798828125,15498.3896484375
|
| 514 |
+
2021-11-01,112.8140869140625,164.60723876953125,328.5401611328125,18.003969192504883,175.35350036621094,56.077186584472656,2837.949951171875,669.8499755859375,4567.0,15537.6904296875
|
| 515 |
+
2021-11-04,,,,,,,,,,
|
| 516 |
+
2021-11-09,,,,,,,,,,
|
| 517 |
+
2021-12-01,130.48629760742188,177.08387756347656,334.8461608886719,22.1286563873291,166.7169952392578,55.77927017211914,2897.0400390625,567.0599975585938,4766.18017578125,15644.9697265625
|
| 518 |
+
2022-01-01,130.3984375,174.30149841308594,309.6171875,20.856517791748047,149.57350158691406,56.41482162475586,2706.070068359375,534.2999877929688,4515.5498046875,14239.8798828125
|
| 519 |
+
2022-02-01,119.60104370117188,164.66795349121094,297.4805908203125,19.47332763671875,153.56300354003906,50.60551452636719,2701.139892578125,467.67999267578125,4373.93994140625,13751.400390625
|
| 520 |
+
2022-02-10,,,,,,,,,,
|
| 521 |
+
2022-03-01,128.46168518066406,174.3538360595703,307.59356689453125,19.927804946899414,162.99749755859375,49.84086990356445,2781.35009765625,455.6199951171875,4530.41015625,14220.51953125
|
| 522 |
+
2022-04-01,130.6254425048828,157.418701171875,276.8751220703125,17.399999618530273,124.28150177001953,46.68299102783203,2282.18994140625,395.95001220703125,4131.93017578125,12334.6396484375
|
| 523 |
+
2022-05-01,137.1759796142578,148.6216278076172,271.2382507324219,18.81999969482422,120.20950317382812,49.939998626708984,2275.239990234375,416.4800109863281,4132.14990234375,12081.3896484375
|
| 524 |
+
2022-05-09,,,,,,,,,,
|
| 525 |
+
2022-06-01,141.86000061035156,137.44000244140625,256.4800109863281,15.819999694824219,107.4000015258789,48.939998626708984,2240.14990234375,365.6300048828125,3821.550048828125,11181.5400390625
|
| 526 |
+
2022-06-28,141.86000061035156,137.44000244140625,256.4800109863281,15.819999694824219,107.4000015258789,48.939998626708984,2240.14990234375,365.6300048828125,3821.550048828125,11181.5400390625
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/data_x_x2_x3.csv
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
0 0 0
|
| 2 |
+
1 1 1
|
| 3 |
+
2 4 8
|
| 4 |
+
3 9 27
|
| 5 |
+
4 16 64
|
| 6 |
+
5 25 125
|
| 7 |
+
6 36 216
|
| 8 |
+
7 49 343
|
| 9 |
+
8 64 512
|
| 10 |
+
9 81 729
|
| 11 |
+
10 100 1000
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/eeg.dat
ADDED
|
Binary file (25.6 kB). View file
|
|
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/embedding_in_wx3.xrc
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" ?>
|
| 2 |
+
<resource>
|
| 3 |
+
<object class="wxFrame" name="MainFrame">
|
| 4 |
+
<title>embedding_in_wx3</title>
|
| 5 |
+
<object class="wxPanel" name="MainPanel">
|
| 6 |
+
<object class="wxBoxSizer">
|
| 7 |
+
<orient>wxVERTICAL</orient>
|
| 8 |
+
<object class="sizeritem">
|
| 9 |
+
<object class="wxStaticText">
|
| 10 |
+
<label>Check out this whizz-bang stuff!</label>
|
| 11 |
+
<style>wxALIGN_CENTRE</style>
|
| 12 |
+
</object>
|
| 13 |
+
<option>0</option>
|
| 14 |
+
<flag>wxALL|wxEXPAND</flag>
|
| 15 |
+
<border>5</border>
|
| 16 |
+
</object>
|
| 17 |
+
<object class="sizeritem">
|
| 18 |
+
<object class="wxBoxSizer">
|
| 19 |
+
<orient>wxHORIZONTAL</orient>
|
| 20 |
+
<object class="sizeritem">
|
| 21 |
+
<object class="wxButton" name="whiz_button">
|
| 22 |
+
<label>whiz</label>
|
| 23 |
+
</object>
|
| 24 |
+
<option>0</option>
|
| 25 |
+
<flag>wxALL|wxEXPAND</flag>
|
| 26 |
+
<border>2</border>
|
| 27 |
+
</object>
|
| 28 |
+
<object class="sizeritem">
|
| 29 |
+
<object class="wxButton" name="bang_button">
|
| 30 |
+
<label>bang</label>
|
| 31 |
+
</object>
|
| 32 |
+
<option>0</option>
|
| 33 |
+
<flag>wxALL|wxEXPAND</flag>
|
| 34 |
+
<border>2</border>
|
| 35 |
+
</object>
|
| 36 |
+
<object class="sizeritem">
|
| 37 |
+
<object class="wxStaticText" name="">
|
| 38 |
+
<label>bang count:</label>
|
| 39 |
+
<style>wxALIGN_RIGHT</style>
|
| 40 |
+
</object>
|
| 41 |
+
<option>1</option>
|
| 42 |
+
<flag>wxALL|wxEXPAND</flag>
|
| 43 |
+
<border>2</border>
|
| 44 |
+
</object>
|
| 45 |
+
<object class="sizeritem">
|
| 46 |
+
<object class="wxTextCtrl" name="bang_count">
|
| 47 |
+
<value>0</value>
|
| 48 |
+
</object>
|
| 49 |
+
<option>0</option>
|
| 50 |
+
<flag>wxEXPAND</flag>
|
| 51 |
+
</object>
|
| 52 |
+
</object>
|
| 53 |
+
<option>0</option>
|
| 54 |
+
<flag>wxLEFT|wxRIGHT|wxEXPAND</flag>
|
| 55 |
+
<border>5</border>
|
| 56 |
+
</object>
|
| 57 |
+
<object class="sizeritem">
|
| 58 |
+
<object class="wxPanel" name="plot_container_panel"/>
|
| 59 |
+
<option>1</option>
|
| 60 |
+
<flag>wxEXPAND</flag>
|
| 61 |
+
</object>
|
| 62 |
+
</object>
|
| 63 |
+
</object>
|
| 64 |
+
</object>
|
| 65 |
+
</resource>
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/logo2.png
ADDED
|
Git LFS Details
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/membrane.dat
ADDED
|
Binary file (48 kB). View file
|
|
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/msft.csv
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Date,Open,High,Low,Close,Volume,Adj. Close*
|
| 2 |
+
19-Sep-03,29.76,29.97,29.52,29.96,92433800,29.79
|
| 3 |
+
18-Sep-03,28.49,29.51,28.42,29.50,67268096,29.34
|
| 4 |
+
17-Sep-03,28.76,28.95,28.47,28.50,47221600,28.34
|
| 5 |
+
16-Sep-03,28.41,28.95,28.32,28.90,52060600,28.74
|
| 6 |
+
15-Sep-03,28.37,28.61,28.33,28.36,41432300,28.20
|
| 7 |
+
12-Sep-03,27.48,28.40,27.45,28.34,55777200,28.18
|
| 8 |
+
11-Sep-03,27.66,28.11,27.59,27.84,37813300,27.68
|
| 9 |
+
10-Sep-03,28.03,28.18,27.48,27.55,54763500,27.40
|
| 10 |
+
9-Sep-03,28.65,28.71,28.31,28.37,44315200,28.21
|
| 11 |
+
8-Sep-03,28.39,28.92,28.34,28.84,46105300,28.68
|
| 12 |
+
5-Sep-03,28.23,28.75,28.17,28.38,64024500,28.22
|
| 13 |
+
4-Sep-03,28.10,28.47,27.99,28.43,59840800,28.27
|
| 14 |
+
3-Sep-03,27.42,28.40,27.38,28.30,109437800,28.14
|
| 15 |
+
2-Sep-03,26.70,27.30,26.47,27.26,74168896,27.11
|
| 16 |
+
29-Aug-03,26.46,26.55,26.35,26.52,34503000,26.37
|
| 17 |
+
28-Aug-03,26.50,26.58,26.24,26.51,46211200,26.36
|
| 18 |
+
27-Aug-03,26.51,26.58,26.30,26.42,30633900,26.27
|
| 19 |
+
26-Aug-03,26.31,26.67,25.96,26.57,47546000,26.42
|
| 20 |
+
25-Aug-03,26.31,26.54,26.23,26.50,36132900,26.35
|
| 21 |
+
22-Aug-03,26.78,26.95,26.21,26.22,65846300,26.07
|
| 22 |
+
21-Aug-03,26.65,26.73,26.13,26.24,63802700,26.09
|
| 23 |
+
20-Aug-03,26.30,26.53,26.00,26.45,56739300,26.30
|
| 24 |
+
19-Aug-03,25.85,26.65,25.77,26.62,72952896,26.47
|
| 25 |
+
18-Aug-03,25.56,25.83,25.46,25.70,45817400,25.56
|
| 26 |
+
15-Aug-03,25.61,25.66,25.43,25.54,27607900,25.40
|
| 27 |
+
14-Aug-03,25.66,25.71,25.52,25.63,37338300,25.49
|
| 28 |
+
13-Aug-03,25.79,25.89,25.50,25.60,39636900,25.46
|
| 29 |
+
12-Aug-03,25.71,25.77,25.45,25.73,38208400,25.59
|
| 30 |
+
11-Aug-03,25.61,25.99,25.54,25.61,36433900,25.47
|
| 31 |
+
8-Aug-03,25.88,25.98,25.50,25.58,33241400,25.44
|
| 32 |
+
7-Aug-03,25.72,25.81,25.45,25.71,44258500,25.57
|
| 33 |
+
6-Aug-03,25.54,26.19,25.43,25.65,56294900,25.51
|
| 34 |
+
5-Aug-03,26.31,26.54,25.60,25.66,58825800,25.52
|
| 35 |
+
4-Aug-03,26.15,26.41,25.75,26.18,51825600,26.03
|
| 36 |
+
1-Aug-03,26.33,26.51,26.12,26.17,42649700,26.02
|
| 37 |
+
31-Jul-03,26.60,26.99,26.31,26.41,64504800,26.26
|
| 38 |
+
30-Jul-03,26.46,26.57,26.17,26.23,41240300,26.08
|
| 39 |
+
29-Jul-03,26.88,26.90,26.24,26.47,62391100,26.32
|
| 40 |
+
28-Jul-03,26.94,27.00,26.49,26.61,52658300,26.46
|
| 41 |
+
25-Jul-03,26.28,26.95,26.07,26.89,54173000,26.74
|
| 42 |
+
24-Jul-03,26.78,26.92,25.98,26.00,53556600,25.85
|
| 43 |
+
23-Jul-03,26.42,26.65,26.14,26.45,49828200,26.30
|
| 44 |
+
22-Jul-03,26.28,26.56,26.13,26.38,51791000,26.23
|
| 45 |
+
21-Jul-03,26.87,26.91,26.00,26.04,48480800,25.89
|
| 46 |
+
18-Jul-03,27.11,27.23,26.75,26.89,63388400,26.74
|
| 47 |
+
17-Jul-03,27.14,27.27,26.54,26.69,72805000,26.54
|
| 48 |
+
16-Jul-03,27.56,27.62,27.20,27.52,49838900,27.37
|
| 49 |
+
15-Jul-03,27.47,27.53,27.10,27.27,53567600,27.12
|
| 50 |
+
14-Jul-03,27.63,27.81,27.05,27.40,60464400,27.25
|
| 51 |
+
11-Jul-03,26.95,27.45,26.89,27.31,50377300,27.16
|
| 52 |
+
10-Jul-03,27.25,27.42,26.59,26.91,55350800,26.76
|
| 53 |
+
9-Jul-03,27.56,27.70,27.25,27.47,62300700,27.32
|
| 54 |
+
8-Jul-03,27.26,27.80,27.25,27.70,61896800,27.55
|
| 55 |
+
7-Jul-03,27.02,27.55,26.95,27.42,88960800,27.27
|
| 56 |
+
3-Jul-03,26.69,26.95,26.41,26.50,39440900,26.35
|
| 57 |
+
2-Jul-03,26.50,26.93,26.45,26.88,94069296,26.73
|
| 58 |
+
1-Jul-03,25.59,26.20,25.39,26.15,60926000,26.00
|
| 59 |
+
30-Jun-03,25.94,26.12,25.50,25.64,48073100,25.50
|
| 60 |
+
27-Jun-03,25.95,26.34,25.53,25.63,76040304,25.49
|
| 61 |
+
26-Jun-03,25.39,26.51,25.21,25.75,51758100,25.61
|
| 62 |
+
25-Jun-03,25.64,25.99,25.14,25.26,60483500,25.12
|
| 63 |
+
24-Jun-03,25.65,26.04,25.52,25.70,51820300,25.56
|
| 64 |
+
23-Jun-03,26.14,26.24,25.49,25.78,52584500,25.64
|
| 65 |
+
20-Jun-03,26.34,26.38,26.01,26.33,86048896,26.18
|
| 66 |
+
19-Jun-03,26.09,26.39,26.01,26.07,63626900,25.92
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/sample_data/s1045.ima.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32b424d64f62b7e71cb24d29fd53938ad5664d608055a67ab2b2af4369f8b89e
|
| 3 |
+
size 33229
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Solarized color palette taken from https://ethanschoonover.com/solarized/
|
| 2 |
+
# Inspired by, and copied from ggthemes https://github.com/jrnold/ggthemes
|
| 3 |
+
|
| 4 |
+
#TODO:
|
| 5 |
+
# 1. Padding to title from face
|
| 6 |
+
# 2. Remove top & right ticks
|
| 7 |
+
# 3. Give Title a Magenta Color(?)
|
| 8 |
+
|
| 9 |
+
#base00 ='#657b83'
|
| 10 |
+
#base01 ='#93a1a1'
|
| 11 |
+
#base2 ='#eee8d5'
|
| 12 |
+
#base3 ='#fdf6e3'
|
| 13 |
+
#base01 ='#586e75'
|
| 14 |
+
#Magenta ='#d33682'
|
| 15 |
+
#Blue ='#268bd2'
|
| 16 |
+
#cyan ='#2aa198'
|
| 17 |
+
#violet ='#6c71c4'
|
| 18 |
+
#green ='#859900'
|
| 19 |
+
#orange ='#cb4b16'
|
| 20 |
+
|
| 21 |
+
figure.facecolor : FDF6E3
|
| 22 |
+
|
| 23 |
+
patch.antialiased : True
|
| 24 |
+
|
| 25 |
+
lines.linewidth : 2.0
|
| 26 |
+
lines.solid_capstyle: butt
|
| 27 |
+
|
| 28 |
+
axes.titlesize : 16
|
| 29 |
+
axes.labelsize : 12
|
| 30 |
+
axes.labelcolor : 657b83
|
| 31 |
+
axes.facecolor : eee8d5
|
| 32 |
+
axes.edgecolor : eee8d5
|
| 33 |
+
axes.axisbelow : True
|
| 34 |
+
axes.prop_cycle : cycler('color', ['268BD2', '2AA198', '859900', 'B58900', 'CB4B16', 'DC322F', 'D33682', '6C71C4'])
|
| 35 |
+
# Blue
|
| 36 |
+
# Cyan
|
| 37 |
+
# Green
|
| 38 |
+
# Yellow
|
| 39 |
+
# Orange
|
| 40 |
+
# Red
|
| 41 |
+
# Magenta
|
| 42 |
+
# Violet
|
| 43 |
+
axes.grid : True
|
| 44 |
+
grid.color : fdf6e3 # grid color
|
| 45 |
+
grid.linestyle : - # line
|
| 46 |
+
grid.linewidth : 1 # in points
|
| 47 |
+
|
| 48 |
+
### TICKS
|
| 49 |
+
xtick.color : 657b83
|
| 50 |
+
xtick.direction : out
|
| 51 |
+
|
| 52 |
+
ytick.color : 657b83
|
| 53 |
+
ytick.direction : out
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/_mpl-gallery.mplstyle
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This style is used for the plot_types gallery. It is considered part of the private API.
|
| 2 |
+
|
| 3 |
+
axes.grid: True
|
| 4 |
+
axes.axisbelow: True
|
| 5 |
+
|
| 6 |
+
figure.figsize: 2, 2
|
| 7 |
+
# make it so the axes labels don't show up. Obviously
|
| 8 |
+
# not good style for any quantitative analysis:
|
| 9 |
+
figure.subplot.left: 0.01
|
| 10 |
+
figure.subplot.right: 0.99
|
| 11 |
+
figure.subplot.bottom: 0.01
|
| 12 |
+
figure.subplot.top: 0.99
|
| 13 |
+
|
| 14 |
+
xtick.major.size: 0.0
|
| 15 |
+
ytick.major.size: 0.0
|
| 16 |
+
|
| 17 |
+
# colors:
|
| 18 |
+
image.cmap : Blues
|
| 19 |
+
axes.prop_cycle: cycler('color', ['1f77b4', '58a1cf', 'abd0e6'])
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/fast.mplstyle
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# a small set of changes that will make your plotting FAST (1).
|
| 2 |
+
#
|
| 3 |
+
# (1) in some cases
|
| 4 |
+
|
| 5 |
+
# Maximally simplify lines.
|
| 6 |
+
path.simplify: True
|
| 7 |
+
path.simplify_threshold: 1.0
|
| 8 |
+
|
| 9 |
+
# chunk up large lines into smaller lines!
|
| 10 |
+
# simple trick to avoid those pesky O(>n) algorithms!
|
| 11 |
+
agg.path.chunksize: 10000
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#Author: Cameron Davidson-Pilon, replicated styles from FiveThirtyEight.com
|
| 2 |
+
# See https://www.dataorigami.net/blogs/fivethirtyeight-mpl
|
| 3 |
+
|
| 4 |
+
lines.linewidth: 4
|
| 5 |
+
lines.solid_capstyle: butt
|
| 6 |
+
|
| 7 |
+
legend.fancybox: true
|
| 8 |
+
|
| 9 |
+
axes.prop_cycle: cycler('color', ['008fd5', 'fc4f30', 'e5ae38', '6d904f', '8b8b8b', '810f7c'])
|
| 10 |
+
axes.facecolor: f0f0f0
|
| 11 |
+
axes.labelsize: large
|
| 12 |
+
axes.axisbelow: true
|
| 13 |
+
axes.grid: true
|
| 14 |
+
axes.edgecolor: f0f0f0
|
| 15 |
+
axes.linewidth: 3.0
|
| 16 |
+
axes.titlesize: x-large
|
| 17 |
+
|
| 18 |
+
patch.edgecolor: f0f0f0
|
| 19 |
+
patch.linewidth: 0.5
|
| 20 |
+
|
| 21 |
+
svg.fonttype: path
|
| 22 |
+
|
| 23 |
+
grid.linestyle: -
|
| 24 |
+
grid.linewidth: 1.0
|
| 25 |
+
grid.color: cbcbcb
|
| 26 |
+
|
| 27 |
+
xtick.major.size: 0
|
| 28 |
+
xtick.minor.size: 0
|
| 29 |
+
ytick.major.size: 0
|
| 30 |
+
ytick.minor.size: 0
|
| 31 |
+
|
| 32 |
+
font.size: 14.0
|
| 33 |
+
|
| 34 |
+
figure.subplot.left: 0.08
|
| 35 |
+
figure.subplot.right: 0.95
|
| 36 |
+
figure.subplot.bottom: 0.07
|
| 37 |
+
figure.facecolor: f0f0f0
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/grayscale.mplstyle
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Set all colors to grayscale
|
| 2 |
+
# Note: strings of float values are interpreted by matplotlib as gray values.
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
lines.color: black
|
| 6 |
+
patch.facecolor: gray
|
| 7 |
+
patch.edgecolor: black
|
| 8 |
+
|
| 9 |
+
text.color: black
|
| 10 |
+
|
| 11 |
+
axes.facecolor: white
|
| 12 |
+
axes.edgecolor: black
|
| 13 |
+
axes.labelcolor: black
|
| 14 |
+
# black to light gray
|
| 15 |
+
axes.prop_cycle: cycler('color', ['0.00', '0.40', '0.60', '0.70'])
|
| 16 |
+
|
| 17 |
+
xtick.color: black
|
| 18 |
+
ytick.color: black
|
| 19 |
+
|
| 20 |
+
grid.color: black
|
| 21 |
+
|
| 22 |
+
figure.facecolor: 0.75
|
| 23 |
+
figure.edgecolor: white
|
| 24 |
+
|
| 25 |
+
image.cmap: gray
|
| 26 |
+
|
| 27 |
+
savefig.facecolor: white
|
| 28 |
+
savefig.edgecolor: white
|
| 29 |
+
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/petroff10.mplstyle
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Color cycle survey palette from Petroff (2021):
|
| 2 |
+
# https://arxiv.org/abs/2107.02270
|
| 3 |
+
# https://github.com/mpetroff/accessible-color-cycles
|
| 4 |
+
axes.prop_cycle: cycler('color', ['3f90da', 'ffa90e', 'bd1f01', '94a4a2', '832db6', 'a96b59', 'e76300', 'b9ac70', '717581', '92dadd'])
|
| 5 |
+
patch.facecolor: 3f90da
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-colorblind.mplstyle
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn colorblind palette
|
| 2 |
+
axes.prop_cycle: cycler('color', ['0072B2', '009E73', 'D55E00', 'CC79A7', 'F0E442', '56B4E9'])
|
| 3 |
+
patch.facecolor: 0072B2
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-dark-palette.mplstyle
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn dark palette
|
| 2 |
+
axes.prop_cycle: cycler('color', ['001C7F', '017517', '8C0900', '7600A1', 'B8860B', '006374'])
|
| 3 |
+
patch.facecolor: 001C7F
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-darkgrid.mplstyle
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn common parameters
|
| 2 |
+
# .15 = dark_gray
|
| 3 |
+
# .8 = light_gray
|
| 4 |
+
figure.facecolor: white
|
| 5 |
+
text.color: .15
|
| 6 |
+
axes.labelcolor: .15
|
| 7 |
+
legend.frameon: False
|
| 8 |
+
legend.numpoints: 1
|
| 9 |
+
legend.scatterpoints: 1
|
| 10 |
+
xtick.direction: out
|
| 11 |
+
ytick.direction: out
|
| 12 |
+
xtick.color: .15
|
| 13 |
+
ytick.color: .15
|
| 14 |
+
axes.axisbelow: True
|
| 15 |
+
image.cmap: Greys
|
| 16 |
+
font.family: sans-serif
|
| 17 |
+
font.sans-serif: Arial, Liberation Sans, DejaVu Sans, Bitstream Vera Sans, sans-serif
|
| 18 |
+
grid.linestyle: -
|
| 19 |
+
lines.solid_capstyle: round
|
| 20 |
+
|
| 21 |
+
# Seaborn darkgrid parameters
|
| 22 |
+
axes.grid: True
|
| 23 |
+
axes.facecolor: EAEAF2
|
| 24 |
+
axes.edgecolor: white
|
| 25 |
+
axes.linewidth: 0
|
| 26 |
+
grid.color: white
|
| 27 |
+
xtick.major.size: 0
|
| 28 |
+
ytick.major.size: 0
|
| 29 |
+
xtick.minor.size: 0
|
| 30 |
+
ytick.minor.size: 0
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-deep.mplstyle
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn deep palette
|
| 2 |
+
axes.prop_cycle: cycler('color', ['4C72B0', '55A868', 'C44E52', '8172B2', 'CCB974', '64B5CD'])
|
| 3 |
+
patch.facecolor: 4C72B0
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-muted.mplstyle
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn muted palette
|
| 2 |
+
axes.prop_cycle: cycler('color', ['4878CF', '6ACC65', 'D65F5F', 'B47CC7', 'C4AD66', '77BEDB'])
|
| 3 |
+
patch.facecolor: 4878CF
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-notebook.mplstyle
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn notebook context
|
| 2 |
+
figure.figsize: 8.0, 5.5
|
| 3 |
+
axes.labelsize: 11
|
| 4 |
+
axes.titlesize: 12
|
| 5 |
+
xtick.labelsize: 10
|
| 6 |
+
ytick.labelsize: 10
|
| 7 |
+
legend.fontsize: 10
|
| 8 |
+
|
| 9 |
+
grid.linewidth: 1
|
| 10 |
+
lines.linewidth: 1.75
|
| 11 |
+
patch.linewidth: .3
|
| 12 |
+
lines.markersize: 7
|
| 13 |
+
lines.markeredgewidth: 0
|
| 14 |
+
|
| 15 |
+
xtick.major.width: 1
|
| 16 |
+
ytick.major.width: 1
|
| 17 |
+
xtick.minor.width: .5
|
| 18 |
+
ytick.minor.width: .5
|
| 19 |
+
|
| 20 |
+
xtick.major.pad: 7
|
| 21 |
+
ytick.major.pad: 7
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-paper.mplstyle
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn paper context
|
| 2 |
+
figure.figsize: 6.4, 4.4
|
| 3 |
+
axes.labelsize: 8.8
|
| 4 |
+
axes.titlesize: 9.6
|
| 5 |
+
xtick.labelsize: 8
|
| 6 |
+
ytick.labelsize: 8
|
| 7 |
+
legend.fontsize: 8
|
| 8 |
+
|
| 9 |
+
grid.linewidth: 0.8
|
| 10 |
+
lines.linewidth: 1.4
|
| 11 |
+
patch.linewidth: 0.24
|
| 12 |
+
lines.markersize: 5.6
|
| 13 |
+
lines.markeredgewidth: 0
|
| 14 |
+
|
| 15 |
+
xtick.major.width: 0.8
|
| 16 |
+
ytick.major.width: 0.8
|
| 17 |
+
xtick.minor.width: 0.4
|
| 18 |
+
ytick.minor.width: 0.4
|
| 19 |
+
|
| 20 |
+
xtick.major.pad: 5.6
|
| 21 |
+
ytick.major.pad: 5.6
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-pastel.mplstyle
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn pastel palette
|
| 2 |
+
axes.prop_cycle: cycler('color', ['92C6FF', '97F0AA', 'FF9F9A', 'D0BBFF', 'FFFEA3', 'B0E0E6'])
|
| 3 |
+
patch.facecolor: 92C6FF
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-talk.mplstyle
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn talk context
|
| 2 |
+
figure.figsize: 10.4, 7.15
|
| 3 |
+
axes.labelsize: 14.3
|
| 4 |
+
axes.titlesize: 15.6
|
| 5 |
+
xtick.labelsize: 13
|
| 6 |
+
ytick.labelsize: 13
|
| 7 |
+
legend.fontsize: 13
|
| 8 |
+
|
| 9 |
+
grid.linewidth: 1.3
|
| 10 |
+
lines.linewidth: 2.275
|
| 11 |
+
patch.linewidth: 0.39
|
| 12 |
+
lines.markersize: 9.1
|
| 13 |
+
lines.markeredgewidth: 0
|
| 14 |
+
|
| 15 |
+
xtick.major.width: 1.3
|
| 16 |
+
ytick.major.width: 1.3
|
| 17 |
+
xtick.minor.width: 0.65
|
| 18 |
+
ytick.minor.width: 0.65
|
| 19 |
+
|
| 20 |
+
xtick.major.pad: 9.1
|
| 21 |
+
ytick.major.pad: 9.1
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-ticks.mplstyle
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn common parameters
|
| 2 |
+
# .15 = dark_gray
|
| 3 |
+
# .8 = light_gray
|
| 4 |
+
figure.facecolor: white
|
| 5 |
+
text.color: .15
|
| 6 |
+
axes.labelcolor: .15
|
| 7 |
+
legend.frameon: False
|
| 8 |
+
legend.numpoints: 1
|
| 9 |
+
legend.scatterpoints: 1
|
| 10 |
+
xtick.direction: out
|
| 11 |
+
ytick.direction: out
|
| 12 |
+
xtick.color: .15
|
| 13 |
+
ytick.color: .15
|
| 14 |
+
axes.axisbelow: True
|
| 15 |
+
image.cmap: Greys
|
| 16 |
+
font.family: sans-serif
|
| 17 |
+
font.sans-serif: Arial, Liberation Sans, DejaVu Sans, Bitstream Vera Sans, sans-serif
|
| 18 |
+
grid.linestyle: -
|
| 19 |
+
lines.solid_capstyle: round
|
| 20 |
+
|
| 21 |
+
# Seaborn white parameters
|
| 22 |
+
axes.grid: False
|
| 23 |
+
axes.facecolor: white
|
| 24 |
+
axes.edgecolor: .15
|
| 25 |
+
axes.linewidth: 1.25
|
| 26 |
+
grid.color: .8
|
| 27 |
+
xtick.major.size: 6
|
| 28 |
+
ytick.major.size: 6
|
| 29 |
+
xtick.minor.size: 3
|
| 30 |
+
ytick.minor.size: 3
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8-white.mplstyle
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Seaborn common parameters
|
| 2 |
+
# .15 = dark_gray
|
| 3 |
+
# .8 = light_gray
|
| 4 |
+
figure.facecolor: white
|
| 5 |
+
text.color: .15
|
| 6 |
+
axes.labelcolor: .15
|
| 7 |
+
legend.frameon: False
|
| 8 |
+
legend.numpoints: 1
|
| 9 |
+
legend.scatterpoints: 1
|
| 10 |
+
xtick.direction: out
|
| 11 |
+
ytick.direction: out
|
| 12 |
+
xtick.color: .15
|
| 13 |
+
ytick.color: .15
|
| 14 |
+
axes.axisbelow: True
|
| 15 |
+
image.cmap: Greys
|
| 16 |
+
font.family: sans-serif
|
| 17 |
+
font.sans-serif: Arial, Liberation Sans, DejaVu Sans, Bitstream Vera Sans, sans-serif
|
| 18 |
+
grid.linestyle: -
|
| 19 |
+
lines.solid_capstyle: round
|
| 20 |
+
|
| 21 |
+
# Seaborn white parameters
|
| 22 |
+
axes.grid: False
|
| 23 |
+
axes.facecolor: white
|
| 24 |
+
axes.edgecolor: .15
|
| 25 |
+
axes.linewidth: 1.25
|
| 26 |
+
grid.color: .8
|
| 27 |
+
xtick.major.size: 0
|
| 28 |
+
ytick.major.size: 0
|
| 29 |
+
xtick.minor.size: 0
|
| 30 |
+
ytick.minor.size: 0
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/seaborn-v0_8.mplstyle
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# default seaborn aesthetic
|
| 2 |
+
# darkgrid + deep palette + notebook context
|
| 3 |
+
|
| 4 |
+
axes.axisbelow: True
|
| 5 |
+
axes.edgecolor: white
|
| 6 |
+
axes.facecolor: EAEAF2
|
| 7 |
+
axes.grid: True
|
| 8 |
+
axes.labelcolor: .15
|
| 9 |
+
axes.labelsize: 11
|
| 10 |
+
axes.linewidth: 0
|
| 11 |
+
axes.prop_cycle: cycler('color', ['4C72B0', '55A868', 'C44E52', '8172B2', 'CCB974', '64B5CD'])
|
| 12 |
+
axes.titlesize: 12
|
| 13 |
+
|
| 14 |
+
figure.facecolor: white
|
| 15 |
+
figure.figsize: 8.0, 5.5
|
| 16 |
+
|
| 17 |
+
font.family: sans-serif
|
| 18 |
+
font.sans-serif: Arial, Liberation Sans, DejaVu Sans, Bitstream Vera Sans, sans-serif
|
| 19 |
+
|
| 20 |
+
grid.color: white
|
| 21 |
+
grid.linestyle: -
|
| 22 |
+
grid.linewidth: 1
|
| 23 |
+
|
| 24 |
+
image.cmap: Greys
|
| 25 |
+
|
| 26 |
+
legend.fontsize: 10
|
| 27 |
+
legend.frameon: False
|
| 28 |
+
legend.numpoints: 1
|
| 29 |
+
legend.scatterpoints: 1
|
| 30 |
+
|
| 31 |
+
lines.linewidth: 1.75
|
| 32 |
+
lines.markeredgewidth: 0
|
| 33 |
+
lines.markersize: 7
|
| 34 |
+
lines.solid_capstyle: round
|
| 35 |
+
|
| 36 |
+
patch.facecolor: 4C72B0
|
| 37 |
+
patch.linewidth: .3
|
| 38 |
+
|
| 39 |
+
text.color: .15
|
| 40 |
+
|
| 41 |
+
xtick.color: .15
|
| 42 |
+
xtick.direction: out
|
| 43 |
+
xtick.labelsize: 10
|
| 44 |
+
xtick.major.pad: 7
|
| 45 |
+
xtick.major.size: 0
|
| 46 |
+
xtick.major.width: 1
|
| 47 |
+
xtick.minor.size: 0
|
| 48 |
+
xtick.minor.width: .5
|
| 49 |
+
|
| 50 |
+
ytick.color: .15
|
| 51 |
+
ytick.direction: out
|
| 52 |
+
ytick.labelsize: 10
|
| 53 |
+
ytick.major.pad: 7
|
| 54 |
+
ytick.major.size: 0
|
| 55 |
+
ytick.major.width: 1
|
| 56 |
+
ytick.minor.size: 0
|
| 57 |
+
ytick.minor.width: .5
|
mgm/lib/python3.10/site-packages/matplotlib/mpl-data/stylelib/tableau-colorblind10.mplstyle
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Tableau colorblind 10 palette
|
| 2 |
+
axes.prop_cycle: cycler('color', ['006BA4', 'FF800E', 'ABABAB', '595959', '5F9ED1', 'C85200', '898989', 'A2C8EC', 'FFBC79', 'CFCFCF'])
|
| 3 |
+
patch.facecolor: 006BA4
|
mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__init__.py
ADDED
|
File without changes
|
mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (169 Bytes). View file
|
|
|
mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__pycache__/figmpl_directive.cpython-310.pyc
ADDED
|
Binary file (7.08 kB). View file
|
|
|
mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__pycache__/mathmpl.cpython-310.pyc
ADDED
|
Binary file (7.65 kB). View file
|
|
|
mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__pycache__/plot_directive.cpython-310.pyc
ADDED
|
Binary file (24.4 kB). View file
|
|
|
mgm/lib/python3.10/site-packages/matplotlib/sphinxext/__pycache__/roles.cpython-310.pyc
ADDED
|
Binary file (4.91 kB). View file
|
|
|
mgm/lib/python3.10/site-packages/matplotlib/sphinxext/figmpl_directive.py
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Add a ``figure-mpl`` directive that is a responsive version of ``figure``.
|
| 3 |
+
|
| 4 |
+
This implementation is very similar to ``.. figure::``, except it also allows a
|
| 5 |
+
``srcset=`` argument to be passed to the image tag, hence allowing responsive
|
| 6 |
+
resolution images.
|
| 7 |
+
|
| 8 |
+
There is no particular reason this could not be used standalone, but is meant
|
| 9 |
+
to be used with :doc:`/api/sphinxext_plot_directive_api`.
|
| 10 |
+
|
| 11 |
+
Note that the directory organization is a bit different than ``.. figure::``.
|
| 12 |
+
See the *FigureMpl* documentation below.
|
| 13 |
+
|
| 14 |
+
"""
|
| 15 |
+
from docutils import nodes
|
| 16 |
+
|
| 17 |
+
from docutils.parsers.rst import directives
|
| 18 |
+
from docutils.parsers.rst.directives.images import Figure, Image
|
| 19 |
+
|
| 20 |
+
import os
|
| 21 |
+
from os.path import relpath
|
| 22 |
+
from pathlib import PurePath, Path
|
| 23 |
+
import shutil
|
| 24 |
+
|
| 25 |
+
from sphinx.errors import ExtensionError
|
| 26 |
+
|
| 27 |
+
import matplotlib
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
class figmplnode(nodes.General, nodes.Element):
|
| 31 |
+
pass
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
class FigureMpl(Figure):
|
| 35 |
+
"""
|
| 36 |
+
Implements a directive to allow an optional hidpi image.
|
| 37 |
+
|
| 38 |
+
Meant to be used with the *plot_srcset* configuration option in conf.py,
|
| 39 |
+
and gets set in the TEMPLATE of plot_directive.py
|
| 40 |
+
|
| 41 |
+
e.g.::
|
| 42 |
+
|
| 43 |
+
.. figure-mpl:: plot_directive/some_plots-1.png
|
| 44 |
+
:alt: bar
|
| 45 |
+
:srcset: plot_directive/some_plots-1.png,
|
| 46 |
+
plot_directive/some_plots-1.2x.png 2.00x
|
| 47 |
+
:class: plot-directive
|
| 48 |
+
|
| 49 |
+
The resulting html (at ``some_plots.html``) is::
|
| 50 |
+
|
| 51 |
+
<img src="sphx_glr_bar_001_hidpi.png"
|
| 52 |
+
srcset="_images/some_plot-1.png,
|
| 53 |
+
_images/some_plots-1.2x.png 2.00x",
|
| 54 |
+
alt="bar"
|
| 55 |
+
class="plot_directive" />
|
| 56 |
+
|
| 57 |
+
Note that the handling of subdirectories is different than that used by the sphinx
|
| 58 |
+
figure directive::
|
| 59 |
+
|
| 60 |
+
.. figure-mpl:: plot_directive/nestedpage/index-1.png
|
| 61 |
+
:alt: bar
|
| 62 |
+
:srcset: plot_directive/nestedpage/index-1.png
|
| 63 |
+
plot_directive/nestedpage/index-1.2x.png 2.00x
|
| 64 |
+
:class: plot_directive
|
| 65 |
+
|
| 66 |
+
The resulting html (at ``nestedpage/index.html``)::
|
| 67 |
+
|
| 68 |
+
<img src="../_images/nestedpage-index-1.png"
|
| 69 |
+
srcset="../_images/nestedpage-index-1.png,
|
| 70 |
+
../_images/_images/nestedpage-index-1.2x.png 2.00x",
|
| 71 |
+
alt="bar"
|
| 72 |
+
class="sphx-glr-single-img" />
|
| 73 |
+
|
| 74 |
+
where the subdirectory is included in the image name for uniqueness.
|
| 75 |
+
"""
|
| 76 |
+
|
| 77 |
+
has_content = False
|
| 78 |
+
required_arguments = 1
|
| 79 |
+
optional_arguments = 2
|
| 80 |
+
final_argument_whitespace = False
|
| 81 |
+
option_spec = {
|
| 82 |
+
'alt': directives.unchanged,
|
| 83 |
+
'height': directives.length_or_unitless,
|
| 84 |
+
'width': directives.length_or_percentage_or_unitless,
|
| 85 |
+
'scale': directives.nonnegative_int,
|
| 86 |
+
'align': Image.align,
|
| 87 |
+
'class': directives.class_option,
|
| 88 |
+
'caption': directives.unchanged,
|
| 89 |
+
'srcset': directives.unchanged,
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
def run(self):
|
| 93 |
+
|
| 94 |
+
image_node = figmplnode()
|
| 95 |
+
|
| 96 |
+
imagenm = self.arguments[0]
|
| 97 |
+
image_node['alt'] = self.options.get('alt', '')
|
| 98 |
+
image_node['align'] = self.options.get('align', None)
|
| 99 |
+
image_node['class'] = self.options.get('class', None)
|
| 100 |
+
image_node['width'] = self.options.get('width', None)
|
| 101 |
+
image_node['height'] = self.options.get('height', None)
|
| 102 |
+
image_node['scale'] = self.options.get('scale', None)
|
| 103 |
+
image_node['caption'] = self.options.get('caption', None)
|
| 104 |
+
|
| 105 |
+
# we would like uri to be the highest dpi version so that
|
| 106 |
+
# latex etc will use that. But for now, lets just make
|
| 107 |
+
# imagenm... maybe pdf one day?
|
| 108 |
+
|
| 109 |
+
image_node['uri'] = imagenm
|
| 110 |
+
image_node['srcset'] = self.options.get('srcset', None)
|
| 111 |
+
|
| 112 |
+
return [image_node]
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
def _parse_srcsetNodes(st):
|
| 116 |
+
"""
|
| 117 |
+
parse srcset...
|
| 118 |
+
"""
|
| 119 |
+
entries = st.split(',')
|
| 120 |
+
srcset = {}
|
| 121 |
+
for entry in entries:
|
| 122 |
+
spl = entry.strip().split(' ')
|
| 123 |
+
if len(spl) == 1:
|
| 124 |
+
srcset[0] = spl[0]
|
| 125 |
+
elif len(spl) == 2:
|
| 126 |
+
mult = spl[1][:-1]
|
| 127 |
+
srcset[float(mult)] = spl[0]
|
| 128 |
+
else:
|
| 129 |
+
raise ExtensionError(f'srcset argument "{entry}" is invalid.')
|
| 130 |
+
return srcset
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
def _copy_images_figmpl(self, node):
|
| 134 |
+
|
| 135 |
+
# these will be the temporary place the plot-directive put the images eg:
|
| 136 |
+
# ../../../build/html/plot_directive/users/explain/artists/index-1.png
|
| 137 |
+
if node['srcset']:
|
| 138 |
+
srcset = _parse_srcsetNodes(node['srcset'])
|
| 139 |
+
else:
|
| 140 |
+
srcset = None
|
| 141 |
+
|
| 142 |
+
# the rst file's location: eg /Users/username/matplotlib/doc/users/explain/artists
|
| 143 |
+
docsource = PurePath(self.document['source']).parent
|
| 144 |
+
|
| 145 |
+
# get the relpath relative to root:
|
| 146 |
+
srctop = self.builder.srcdir
|
| 147 |
+
rel = relpath(docsource, srctop).replace('.', '').replace(os.sep, '-')
|
| 148 |
+
if len(rel):
|
| 149 |
+
rel += '-'
|
| 150 |
+
# eg: users/explain/artists
|
| 151 |
+
|
| 152 |
+
imagedir = PurePath(self.builder.outdir, self.builder.imagedir)
|
| 153 |
+
# eg: /Users/username/matplotlib/doc/build/html/_images/users/explain/artists
|
| 154 |
+
|
| 155 |
+
Path(imagedir).mkdir(parents=True, exist_ok=True)
|
| 156 |
+
|
| 157 |
+
# copy all the sources to the imagedir:
|
| 158 |
+
if srcset:
|
| 159 |
+
for src in srcset.values():
|
| 160 |
+
# the entries in srcset are relative to docsource's directory
|
| 161 |
+
abspath = PurePath(docsource, src)
|
| 162 |
+
name = rel + abspath.name
|
| 163 |
+
shutil.copyfile(abspath, imagedir / name)
|
| 164 |
+
else:
|
| 165 |
+
abspath = PurePath(docsource, node['uri'])
|
| 166 |
+
name = rel + abspath.name
|
| 167 |
+
shutil.copyfile(abspath, imagedir / name)
|
| 168 |
+
|
| 169 |
+
return imagedir, srcset, rel
|
| 170 |
+
|
| 171 |
+
|
| 172 |
+
def visit_figmpl_html(self, node):
|
| 173 |
+
|
| 174 |
+
imagedir, srcset, rel = _copy_images_figmpl(self, node)
|
| 175 |
+
|
| 176 |
+
# /doc/examples/subd/plot_1.rst
|
| 177 |
+
docsource = PurePath(self.document['source'])
|
| 178 |
+
# /doc/
|
| 179 |
+
# make sure to add the trailing slash:
|
| 180 |
+
srctop = PurePath(self.builder.srcdir, '')
|
| 181 |
+
# examples/subd/plot_1.rst
|
| 182 |
+
relsource = relpath(docsource, srctop)
|
| 183 |
+
# /doc/build/html
|
| 184 |
+
desttop = PurePath(self.builder.outdir, '')
|
| 185 |
+
# /doc/build/html/examples/subd
|
| 186 |
+
dest = desttop / relsource
|
| 187 |
+
|
| 188 |
+
# ../../_images/ for dirhtml and ../_images/ for html
|
| 189 |
+
imagerel = PurePath(relpath(imagedir, dest.parent)).as_posix()
|
| 190 |
+
if self.builder.name == "dirhtml":
|
| 191 |
+
imagerel = f'..{imagerel}'
|
| 192 |
+
|
| 193 |
+
# make uri also be relative...
|
| 194 |
+
nm = PurePath(node['uri'][1:]).name
|
| 195 |
+
uri = f'{imagerel}/{rel}{nm}'
|
| 196 |
+
|
| 197 |
+
# make srcset str. Need to change all the prefixes!
|
| 198 |
+
maxsrc = uri
|
| 199 |
+
srcsetst = ''
|
| 200 |
+
if srcset:
|
| 201 |
+
maxmult = -1
|
| 202 |
+
for mult, src in srcset.items():
|
| 203 |
+
nm = PurePath(src[1:]).name
|
| 204 |
+
# ../../_images/plot_1_2_0x.png
|
| 205 |
+
path = f'{imagerel}/{rel}{nm}'
|
| 206 |
+
srcsetst += path
|
| 207 |
+
if mult == 0:
|
| 208 |
+
srcsetst += ', '
|
| 209 |
+
else:
|
| 210 |
+
srcsetst += f' {mult:1.2f}x, '
|
| 211 |
+
|
| 212 |
+
if mult > maxmult:
|
| 213 |
+
maxmult = mult
|
| 214 |
+
maxsrc = path
|
| 215 |
+
|
| 216 |
+
# trim trailing comma and space...
|
| 217 |
+
srcsetst = srcsetst[:-2]
|
| 218 |
+
|
| 219 |
+
alt = node['alt']
|
| 220 |
+
if node['class'] is not None:
|
| 221 |
+
classst = ' '.join(node['class'])
|
| 222 |
+
classst = f'class="{classst}"'
|
| 223 |
+
|
| 224 |
+
else:
|
| 225 |
+
classst = ''
|
| 226 |
+
|
| 227 |
+
stylers = ['width', 'height', 'scale']
|
| 228 |
+
stylest = ''
|
| 229 |
+
for style in stylers:
|
| 230 |
+
if node[style]:
|
| 231 |
+
stylest += f'{style}: {node[style]};'
|
| 232 |
+
|
| 233 |
+
figalign = node['align'] if node['align'] else 'center'
|
| 234 |
+
|
| 235 |
+
# <figure class="align-default" id="id1">
|
| 236 |
+
# <a class="reference internal image-reference" href="_images/index-1.2x.png">
|
| 237 |
+
# <img alt="_images/index-1.2x.png" src="_images/index-1.2x.png" style="width: 53%;" />
|
| 238 |
+
# </a>
|
| 239 |
+
# <figcaption>
|
| 240 |
+
# <p><span class="caption-text">Figure caption is here....</span>
|
| 241 |
+
# <a class="headerlink" href="#id1" title="Permalink to this image">#</a></p>
|
| 242 |
+
# </figcaption>
|
| 243 |
+
# </figure>
|
| 244 |
+
img_block = (f'<img src="{uri}" style="{stylest}" srcset="{srcsetst}" '
|
| 245 |
+
f'alt="{alt}" {classst}/>')
|
| 246 |
+
html_block = f'<figure class="align-{figalign}">\n'
|
| 247 |
+
html_block += f' <a class="reference internal image-reference" href="{maxsrc}">\n'
|
| 248 |
+
html_block += f' {img_block}\n </a>\n'
|
| 249 |
+
if node['caption']:
|
| 250 |
+
html_block += ' <figcaption>\n'
|
| 251 |
+
html_block += f' <p><span class="caption-text">{node["caption"]}</span></p>\n'
|
| 252 |
+
html_block += ' </figcaption>\n'
|
| 253 |
+
html_block += '</figure>\n'
|
| 254 |
+
self.body.append(html_block)
|
| 255 |
+
|
| 256 |
+
|
| 257 |
+
def visit_figmpl_latex(self, node):
|
| 258 |
+
|
| 259 |
+
if node['srcset'] is not None:
|
| 260 |
+
imagedir, srcset = _copy_images_figmpl(self, node)
|
| 261 |
+
maxmult = -1
|
| 262 |
+
# choose the highest res version for latex:
|
| 263 |
+
maxmult = max(srcset, default=-1)
|
| 264 |
+
node['uri'] = PurePath(srcset[maxmult]).name
|
| 265 |
+
|
| 266 |
+
self.visit_figure(node)
|
| 267 |
+
|
| 268 |
+
|
| 269 |
+
def depart_figmpl_html(self, node):
|
| 270 |
+
pass
|
| 271 |
+
|
| 272 |
+
|
| 273 |
+
def depart_figmpl_latex(self, node):
|
| 274 |
+
self.depart_figure(node)
|
| 275 |
+
|
| 276 |
+
|
| 277 |
+
def figurempl_addnode(app):
|
| 278 |
+
app.add_node(figmplnode,
|
| 279 |
+
html=(visit_figmpl_html, depart_figmpl_html),
|
| 280 |
+
latex=(visit_figmpl_latex, depart_figmpl_latex))
|
| 281 |
+
|
| 282 |
+
|
| 283 |
+
def setup(app):
|
| 284 |
+
app.add_directive("figure-mpl", FigureMpl)
|
| 285 |
+
figurempl_addnode(app)
|
| 286 |
+
metadata = {'parallel_read_safe': True, 'parallel_write_safe': True,
|
| 287 |
+
'version': matplotlib.__version__}
|
| 288 |
+
return metadata
|
mgm/lib/python3.10/site-packages/matplotlib/sphinxext/mathmpl.py
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
r"""
|
| 2 |
+
A role and directive to display mathtext in Sphinx
|
| 3 |
+
==================================================
|
| 4 |
+
|
| 5 |
+
The ``mathmpl`` Sphinx extension creates a mathtext image in Matplotlib and
|
| 6 |
+
shows it in html output. Thus, it is a true and faithful representation of what
|
| 7 |
+
you will see if you pass a given LaTeX string to Matplotlib (see
|
| 8 |
+
:ref:`mathtext`).
|
| 9 |
+
|
| 10 |
+
.. warning::
|
| 11 |
+
In most cases, you will likely want to use one of `Sphinx's builtin Math
|
| 12 |
+
extensions
|
| 13 |
+
<https://www.sphinx-doc.org/en/master/usage/extensions/math.html>`__
|
| 14 |
+
instead of this one. The builtin Sphinx math directive uses MathJax to
|
| 15 |
+
render mathematical expressions, and addresses accessibility concerns that
|
| 16 |
+
``mathmpl`` doesn't address.
|
| 17 |
+
|
| 18 |
+
Mathtext may be included in two ways:
|
| 19 |
+
|
| 20 |
+
1. Inline, using the role::
|
| 21 |
+
|
| 22 |
+
This text uses inline math: :mathmpl:`\alpha > \beta`.
|
| 23 |
+
|
| 24 |
+
which produces:
|
| 25 |
+
|
| 26 |
+
This text uses inline math: :mathmpl:`\alpha > \beta`.
|
| 27 |
+
|
| 28 |
+
2. Standalone, using the directive::
|
| 29 |
+
|
| 30 |
+
Here is some standalone math:
|
| 31 |
+
|
| 32 |
+
.. mathmpl::
|
| 33 |
+
|
| 34 |
+
\alpha > \beta
|
| 35 |
+
|
| 36 |
+
which produces:
|
| 37 |
+
|
| 38 |
+
Here is some standalone math:
|
| 39 |
+
|
| 40 |
+
.. mathmpl::
|
| 41 |
+
|
| 42 |
+
\alpha > \beta
|
| 43 |
+
|
| 44 |
+
Options
|
| 45 |
+
-------
|
| 46 |
+
|
| 47 |
+
The ``mathmpl`` role and directive both support the following options:
|
| 48 |
+
|
| 49 |
+
fontset : str, default: 'cm'
|
| 50 |
+
The font set to use when displaying math. See :rc:`mathtext.fontset`.
|
| 51 |
+
|
| 52 |
+
fontsize : float
|
| 53 |
+
The font size, in points. Defaults to the value from the extension
|
| 54 |
+
configuration option defined below.
|
| 55 |
+
|
| 56 |
+
Configuration options
|
| 57 |
+
---------------------
|
| 58 |
+
|
| 59 |
+
The mathtext extension has the following configuration options:
|
| 60 |
+
|
| 61 |
+
mathmpl_fontsize : float, default: 10.0
|
| 62 |
+
Default font size, in points.
|
| 63 |
+
|
| 64 |
+
mathmpl_srcset : list of str, default: []
|
| 65 |
+
Additional image sizes to generate when embedding in HTML, to support
|
| 66 |
+
`responsive resolution images
|
| 67 |
+
<https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images>`__.
|
| 68 |
+
The list should contain additional x-descriptors (``'1.5x'``, ``'2x'``,
|
| 69 |
+
etc.) to generate (1x is the default and always included.)
|
| 70 |
+
|
| 71 |
+
"""
|
| 72 |
+
|
| 73 |
+
import hashlib
|
| 74 |
+
from pathlib import Path
|
| 75 |
+
|
| 76 |
+
from docutils import nodes
|
| 77 |
+
from docutils.parsers.rst import Directive, directives
|
| 78 |
+
import sphinx
|
| 79 |
+
from sphinx.errors import ConfigError, ExtensionError
|
| 80 |
+
|
| 81 |
+
import matplotlib as mpl
|
| 82 |
+
from matplotlib import _api, mathtext
|
| 83 |
+
from matplotlib.rcsetup import validate_float_or_None
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
# Define LaTeX math node:
|
| 87 |
+
class latex_math(nodes.General, nodes.Element):
|
| 88 |
+
pass
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
def fontset_choice(arg):
|
| 92 |
+
return directives.choice(arg, mathtext.MathTextParser._font_type_mapping)
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
def math_role(role, rawtext, text, lineno, inliner,
|
| 96 |
+
options={}, content=[]):
|
| 97 |
+
i = rawtext.find('`')
|
| 98 |
+
latex = rawtext[i+1:-1]
|
| 99 |
+
node = latex_math(rawtext)
|
| 100 |
+
node['latex'] = latex
|
| 101 |
+
node['fontset'] = options.get('fontset', 'cm')
|
| 102 |
+
node['fontsize'] = options.get('fontsize',
|
| 103 |
+
setup.app.config.mathmpl_fontsize)
|
| 104 |
+
return [node], []
|
| 105 |
+
math_role.options = {'fontset': fontset_choice,
|
| 106 |
+
'fontsize': validate_float_or_None}
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
class MathDirective(Directive):
|
| 110 |
+
"""
|
| 111 |
+
The ``.. mathmpl::`` directive, as documented in the module's docstring.
|
| 112 |
+
"""
|
| 113 |
+
has_content = True
|
| 114 |
+
required_arguments = 0
|
| 115 |
+
optional_arguments = 0
|
| 116 |
+
final_argument_whitespace = False
|
| 117 |
+
option_spec = {'fontset': fontset_choice,
|
| 118 |
+
'fontsize': validate_float_or_None}
|
| 119 |
+
|
| 120 |
+
def run(self):
|
| 121 |
+
latex = ''.join(self.content)
|
| 122 |
+
node = latex_math(self.block_text)
|
| 123 |
+
node['latex'] = latex
|
| 124 |
+
node['fontset'] = self.options.get('fontset', 'cm')
|
| 125 |
+
node['fontsize'] = self.options.get('fontsize',
|
| 126 |
+
setup.app.config.mathmpl_fontsize)
|
| 127 |
+
return [node]
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
# This uses mathtext to render the expression
|
| 131 |
+
def latex2png(latex, filename, fontset='cm', fontsize=10, dpi=100):
|
| 132 |
+
with mpl.rc_context({'mathtext.fontset': fontset, 'font.size': fontsize}):
|
| 133 |
+
try:
|
| 134 |
+
depth = mathtext.math_to_image(
|
| 135 |
+
f"${latex}$", filename, dpi=dpi, format="png")
|
| 136 |
+
except Exception:
|
| 137 |
+
_api.warn_external(f"Could not render math expression {latex}")
|
| 138 |
+
depth = 0
|
| 139 |
+
return depth
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
# LaTeX to HTML translation stuff:
|
| 143 |
+
def latex2html(node, source):
|
| 144 |
+
inline = isinstance(node.parent, nodes.TextElement)
|
| 145 |
+
latex = node['latex']
|
| 146 |
+
fontset = node['fontset']
|
| 147 |
+
fontsize = node['fontsize']
|
| 148 |
+
name = 'math-{}'.format(
|
| 149 |
+
hashlib.md5(f'{latex}{fontset}{fontsize}'.encode()).hexdigest()[-10:])
|
| 150 |
+
|
| 151 |
+
destdir = Path(setup.app.builder.outdir, '_images', 'mathmpl')
|
| 152 |
+
destdir.mkdir(parents=True, exist_ok=True)
|
| 153 |
+
|
| 154 |
+
dest = destdir / f'{name}.png'
|
| 155 |
+
depth = latex2png(latex, dest, fontset, fontsize=fontsize)
|
| 156 |
+
|
| 157 |
+
srcset = []
|
| 158 |
+
for size in setup.app.config.mathmpl_srcset:
|
| 159 |
+
filename = f'{name}-{size.replace(".", "_")}.png'
|
| 160 |
+
latex2png(latex, destdir / filename, fontset, fontsize=fontsize,
|
| 161 |
+
dpi=100 * float(size[:-1]))
|
| 162 |
+
srcset.append(
|
| 163 |
+
f'{setup.app.builder.imgpath}/mathmpl/{filename} {size}')
|
| 164 |
+
if srcset:
|
| 165 |
+
srcset = (f'srcset="{setup.app.builder.imgpath}/mathmpl/{name}.png, ' +
|
| 166 |
+
', '.join(srcset) + '" ')
|
| 167 |
+
|
| 168 |
+
if inline:
|
| 169 |
+
cls = ''
|
| 170 |
+
else:
|
| 171 |
+
cls = 'class="center" '
|
| 172 |
+
if inline and depth != 0:
|
| 173 |
+
style = 'style="position: relative; bottom: -%dpx"' % (depth + 1)
|
| 174 |
+
else:
|
| 175 |
+
style = ''
|
| 176 |
+
|
| 177 |
+
return (f'<img src="{setup.app.builder.imgpath}/mathmpl/{name}.png"'
|
| 178 |
+
f' {srcset}{cls}{style}/>')
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
def _config_inited(app, config):
|
| 182 |
+
# Check for srcset hidpi images
|
| 183 |
+
for i, size in enumerate(app.config.mathmpl_srcset):
|
| 184 |
+
if size[-1] == 'x': # "2x" = "2.0"
|
| 185 |
+
try:
|
| 186 |
+
float(size[:-1])
|
| 187 |
+
except ValueError:
|
| 188 |
+
raise ConfigError(
|
| 189 |
+
f'Invalid value for mathmpl_srcset parameter: {size!r}. '
|
| 190 |
+
'Must be a list of strings with the multiplicative '
|
| 191 |
+
'factor followed by an "x". e.g. ["2.0x", "1.5x"]')
|
| 192 |
+
else:
|
| 193 |
+
raise ConfigError(
|
| 194 |
+
f'Invalid value for mathmpl_srcset parameter: {size!r}. '
|
| 195 |
+
'Must be a list of strings with the multiplicative '
|
| 196 |
+
'factor followed by an "x". e.g. ["2.0x", "1.5x"]')
|
| 197 |
+
|
| 198 |
+
|
| 199 |
+
def setup(app):
|
| 200 |
+
setup.app = app
|
| 201 |
+
app.add_config_value('mathmpl_fontsize', 10.0, True)
|
| 202 |
+
app.add_config_value('mathmpl_srcset', [], True)
|
| 203 |
+
try:
|
| 204 |
+
app.connect('config-inited', _config_inited) # Sphinx 1.8+
|
| 205 |
+
except ExtensionError:
|
| 206 |
+
app.connect('env-updated', lambda app, env: _config_inited(app, None))
|
| 207 |
+
|
| 208 |
+
# Add visit/depart methods to HTML-Translator:
|
| 209 |
+
def visit_latex_math_html(self, node):
|
| 210 |
+
source = self.document.attributes['source']
|
| 211 |
+
self.body.append(latex2html(node, source))
|
| 212 |
+
|
| 213 |
+
def depart_latex_math_html(self, node):
|
| 214 |
+
pass
|
| 215 |
+
|
| 216 |
+
# Add visit/depart methods to LaTeX-Translator:
|
| 217 |
+
def visit_latex_math_latex(self, node):
|
| 218 |
+
inline = isinstance(node.parent, nodes.TextElement)
|
| 219 |
+
if inline:
|
| 220 |
+
self.body.append('$%s$' % node['latex'])
|
| 221 |
+
else:
|
| 222 |
+
self.body.extend(['\\begin{equation}',
|
| 223 |
+
node['latex'],
|
| 224 |
+
'\\end{equation}'])
|
| 225 |
+
|
| 226 |
+
def depart_latex_math_latex(self, node):
|
| 227 |
+
pass
|
| 228 |
+
|
| 229 |
+
app.add_node(latex_math,
|
| 230 |
+
html=(visit_latex_math_html, depart_latex_math_html),
|
| 231 |
+
latex=(visit_latex_math_latex, depart_latex_math_latex))
|
| 232 |
+
app.add_role('mathmpl', math_role)
|
| 233 |
+
app.add_directive('mathmpl', MathDirective)
|
| 234 |
+
if sphinx.version_info < (1, 8):
|
| 235 |
+
app.add_role('math', math_role)
|
| 236 |
+
app.add_directive('math', MathDirective)
|
| 237 |
+
|
| 238 |
+
metadata = {'parallel_read_safe': True, 'parallel_write_safe': True}
|
| 239 |
+
return metadata
|
mgm/lib/python3.10/site-packages/matplotlib/sphinxext/plot_directive.py
ADDED
|
@@ -0,0 +1,933 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ot in a Sphinx document
|
| 3 |
+
================================================================
|
| 4 |
+
|
| 5 |
+
This is a Sphinx extension providing a reStructuredText directive
|
| 6 |
+
``.. plot::`` for including a plot in a Sphinx document.
|
| 7 |
+
|
| 8 |
+
In HTML output, ``.. plot::`` will include a .png file with a link
|
| 9 |
+
to a high-res .png and .pdf. In LaTeX output, it will include a .pdf.
|
| 10 |
+
|
| 11 |
+
The plot content may be defined in one of three ways:
|
| 12 |
+
|
| 13 |
+
1. **A path to a source file** as the argument to the directive::
|
| 14 |
+
|
| 15 |
+
.. plot:: path/to/plot.py
|
| 16 |
+
|
| 17 |
+
When a path to a source file is given, the content of the
|
| 18 |
+
directive may optionally contain a caption for the plot::
|
| 19 |
+
|
| 20 |
+
.. plot:: path/to/plot.py
|
| 21 |
+
|
| 22 |
+
The plot caption.
|
| 23 |
+
|
| 24 |
+
Additionally, one may specify the name of a function to call (with
|
| 25 |
+
no arguments) immediately after importing the module::
|
| 26 |
+
|
| 27 |
+
.. plot:: path/to/plot.py plot_function1
|
| 28 |
+
|
| 29 |
+
2. Included as **inline content** to the directive::
|
| 30 |
+
|
| 31 |
+
.. plot::
|
| 32 |
+
|
| 33 |
+
import matplotlib.pyplot as plt
|
| 34 |
+
plt.plot([1, 2, 3], [4, 5, 6])
|
| 35 |
+
plt.title("A plotting exammple")
|
| 36 |
+
|
| 37 |
+
3. Using **doctest** syntax::
|
| 38 |
+
|
| 39 |
+
.. plot::
|
| 40 |
+
|
| 41 |
+
A plotting example:
|
| 42 |
+
>>> import matplotlib.pyplot as plt
|
| 43 |
+
>>> plt.plot([1, 2, 3], [4, 5, 6])
|
| 44 |
+
|
| 45 |
+
Options
|
| 46 |
+
-------
|
| 47 |
+
|
| 48 |
+
The ``.. plot::`` directive supports the following options:
|
| 49 |
+
|
| 50 |
+
``:format:`` : {'python', 'doctest'}
|
| 51 |
+
The format of the input. If unset, the format is auto-detected.
|
| 52 |
+
|
| 53 |
+
``:include-source:`` : bool
|
| 54 |
+
Whether to display the source code. The default can be changed using
|
| 55 |
+
the ``plot_include_source`` variable in :file:`conf.py` (which itself
|
| 56 |
+
defaults to False).
|
| 57 |
+
|
| 58 |
+
``:show-source-link:`` : bool
|
| 59 |
+
Whether to show a link to the source in HTML. The default can be
|
| 60 |
+
changed using the ``plot_html_show_source_link`` variable in
|
| 61 |
+
:file:`conf.py` (which itself defaults to True).
|
| 62 |
+
|
| 63 |
+
``:context:`` : bool or str
|
| 64 |
+
If provided, the code will be run in the context of all previous plot
|
| 65 |
+
directives for which the ``:context:`` option was specified. This only
|
| 66 |
+
applies to inline code plot directives, not those run from files. If
|
| 67 |
+
the ``:context: reset`` option is specified, the context is reset
|
| 68 |
+
for this and future plots, and previous figures are closed prior to
|
| 69 |
+
running the code. ``:context: close-figs`` keeps the context but closes
|
| 70 |
+
previous figures before running the code.
|
| 71 |
+
|
| 72 |
+
``:nofigs:`` : bool
|
| 73 |
+
If specified, the code block will be run, but no figures will be
|
| 74 |
+
inserted. This is usually useful with the ``:context:`` option.
|
| 75 |
+
|
| 76 |
+
``:caption:`` : str
|
| 77 |
+
If specified, the option's argument will be used as a caption for the
|
| 78 |
+
figure. This overwrites the caption given in the content, when the plot
|
| 79 |
+
is generated from a file.
|
| 80 |
+
|
| 81 |
+
Additionally, this directive supports all the options of the `image directive
|
| 82 |
+
<https://docutils.sourceforge.io/docs/ref/rst/directives.html#image>`_,
|
| 83 |
+
except for ``:target:`` (since plot will add its own target). These include
|
| 84 |
+
``:alt:``, ``:height:``, ``:width:``, ``:scale:``, ``:align:`` and ``:class:``.
|
| 85 |
+
|
| 86 |
+
Configuration options
|
| 87 |
+
---------------------
|
| 88 |
+
|
| 89 |
+
The plot directive has the following configuration options:
|
| 90 |
+
|
| 91 |
+
plot_include_source
|
| 92 |
+
Default value for the include-source option (default: False).
|
| 93 |
+
|
| 94 |
+
plot_html_show_source_link
|
| 95 |
+
Whether to show a link to the source in HTML (default: True).
|
| 96 |
+
|
| 97 |
+
plot_pre_code
|
| 98 |
+
Code that should be executed before each plot. If None (the default),
|
| 99 |
+
it will default to a string containing::
|
| 100 |
+
|
| 101 |
+
import numpy as np
|
| 102 |
+
from matplotlib import pyplot as plt
|
| 103 |
+
|
| 104 |
+
plot_basedir
|
| 105 |
+
Base directory, to which ``plot::`` file names are relative to.
|
| 106 |
+
If None or empty (the default), file names are relative to the
|
| 107 |
+
directory where the file containing the directive is.
|
| 108 |
+
|
| 109 |
+
plot_formats
|
| 110 |
+
File formats to generate (default: ['png', 'hires.png', 'pdf']).
|
| 111 |
+
List of tuples or strings::
|
| 112 |
+
|
| 113 |
+
[(suffix, dpi), suffix, ...]
|
| 114 |
+
|
| 115 |
+
that determine the file format and the DPI. For entries whose
|
| 116 |
+
DPI was omitted, sensible defaults are chosen. When passing from
|
| 117 |
+
the command line through sphinx_build the list should be passed as
|
| 118 |
+
suffix:dpi,suffix:dpi, ...
|
| 119 |
+
|
| 120 |
+
plot_html_show_formats
|
| 121 |
+
Whether to show links to the files in HTML (default: True).
|
| 122 |
+
|
| 123 |
+
plot_rcparams
|
| 124 |
+
A dictionary containing any non-standard rcParams that should
|
| 125 |
+
be applied before each plot (default: {}).
|
| 126 |
+
|
| 127 |
+
plot_apply_rcparams
|
| 128 |
+
By default, rcParams are applied when ``:context:`` option is not used
|
| 129 |
+
in a plot directive. If set, this configuration option overrides this
|
| 130 |
+
behavior and applies rcParams before each plot.
|
| 131 |
+
|
| 132 |
+
plot_working_directory
|
| 133 |
+
By default, the working directory will be changed to the directory of
|
| 134 |
+
the example, so the code can get at its data files, if any. Also its
|
| 135 |
+
path will be added to `sys.path` so it can import any helper modules
|
| 136 |
+
sitting beside it. This configuration option can be used to specify
|
| 137 |
+
a central directory (also added to `sys.path`) where data files and
|
| 138 |
+
helper modules for all code are located.
|
| 139 |
+
|
| 140 |
+
plot_template
|
| 141 |
+
Provide a customized template for preparing restructured text.
|
| 142 |
+
|
| 143 |
+
plot_srcset
|
| 144 |
+
Allow the srcset image option for responsive image resolutions. List of
|
| 145 |
+
strings with the multiplicative factors followed by an "x".
|
| 146 |
+
e.g. ["2.0x", "1.5x"]. "2.0x" will create a png with the default "png"
|
| 147 |
+
resolution from plot_formats, multiplied by 2. If plot_srcset is
|
| 148 |
+
specified, the plot directive uses the
|
| 149 |
+
:doc:`/api/sphinxext_figmpl_directive_api` (instead of the usual figure
|
| 150 |
+
directive) in the intermediary rst file that is generated.
|
| 151 |
+
The plot_srcset option is incompatible with *singlehtml* builds, and an
|
| 152 |
+
error will be raised.
|
| 153 |
+
|
| 154 |
+
Notes on how it works
|
| 155 |
+
---------------------
|
| 156 |
+
|
| 157 |
+
The plot directive runs the code it is given, either in the source file or the
|
| 158 |
+
code under the directive. The figure created (if any) is saved in the sphinx
|
| 159 |
+
build directory under a subdirectory named ``plot_directive``. It then creates
|
| 160 |
+
an intermediate rst file that calls a ``.. figure:`` directive (or
|
| 161 |
+
``.. figmpl::`` directive if ``plot_srcset`` is being used) and has links to
|
| 162 |
+
the ``*.png`` files in the ``plot_directive`` directory. These translations can
|
| 163 |
+
be customized by changing the *plot_template*. See the source of
|
| 164 |
+
:doc:`/api/sphinxext_plot_directive_api` for the templates defined in *TEMPLATE*
|
| 165 |
+
and *TEMPLATE_SRCSET*.
|
| 166 |
+
"""
|
| 167 |
+
|
| 168 |
+
import contextlib
|
| 169 |
+
import doctest
|
| 170 |
+
from io import StringIO
|
| 171 |
+
import itertools
|
| 172 |
+
import os
|
| 173 |
+
from os.path import relpath
|
| 174 |
+
from pathlib import Path
|
| 175 |
+
import re
|
| 176 |
+
import shutil
|
| 177 |
+
import sys
|
| 178 |
+
import textwrap
|
| 179 |
+
import traceback
|
| 180 |
+
|
| 181 |
+
from docutils.parsers.rst import directives, Directive
|
| 182 |
+
from docutils.parsers.rst.directives.images import Image
|
| 183 |
+
import jinja2 # Sphinx dependency.
|
| 184 |
+
|
| 185 |
+
from sphinx.errors import ExtensionError
|
| 186 |
+
|
| 187 |
+
import matplotlib
|
| 188 |
+
from matplotlib.backend_bases import FigureManagerBase
|
| 189 |
+
import matplotlib.pyplot as plt
|
| 190 |
+
from matplotlib import _pylab_helpers, cbook
|
| 191 |
+
|
| 192 |
+
matplotlib.use("agg")
|
| 193 |
+
|
| 194 |
+
__version__ = 2
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
# -----------------------------------------------------------------------------
|
| 198 |
+
# Registration hook
|
| 199 |
+
# -----------------------------------------------------------------------------
|
| 200 |
+
|
| 201 |
+
|
| 202 |
+
def _option_boolean(arg):
|
| 203 |
+
if not arg or not arg.strip():
|
| 204 |
+
# no argument given, assume used as a flag
|
| 205 |
+
return True
|
| 206 |
+
elif arg.strip().lower() in ('no', '0', 'false'):
|
| 207 |
+
return False
|
| 208 |
+
elif arg.strip().lower() in ('yes', '1', 'true'):
|
| 209 |
+
return True
|
| 210 |
+
else:
|
| 211 |
+
raise ValueError(f'{arg!r} unknown boolean')
|
| 212 |
+
|
| 213 |
+
|
| 214 |
+
def _option_context(arg):
|
| 215 |
+
if arg in [None, 'reset', 'close-figs']:
|
| 216 |
+
return arg
|
| 217 |
+
raise ValueError("Argument should be None or 'reset' or 'close-figs'")
|
| 218 |
+
|
| 219 |
+
|
| 220 |
+
def _option_format(arg):
|
| 221 |
+
return directives.choice(arg, ('python', 'doctest'))
|
| 222 |
+
|
| 223 |
+
|
| 224 |
+
def mark_plot_labels(app, document):
|
| 225 |
+
"""
|
| 226 |
+
To make plots referenceable, we need to move the reference from the
|
| 227 |
+
"htmlonly" (or "latexonly") node to the actual figure node itself.
|
| 228 |
+
"""
|
| 229 |
+
for name, explicit in document.nametypes.items():
|
| 230 |
+
if not explicit:
|
| 231 |
+
continue
|
| 232 |
+
labelid = document.nameids[name]
|
| 233 |
+
if labelid is None:
|
| 234 |
+
continue
|
| 235 |
+
node = document.ids[labelid]
|
| 236 |
+
if node.tagname in ('html_only', 'latex_only'):
|
| 237 |
+
for n in node:
|
| 238 |
+
if n.tagname == 'figure':
|
| 239 |
+
sectname = name
|
| 240 |
+
for c in n:
|
| 241 |
+
if c.tagname == 'caption':
|
| 242 |
+
sectname = c.astext()
|
| 243 |
+
break
|
| 244 |
+
|
| 245 |
+
node['ids'].remove(labelid)
|
| 246 |
+
node['names'].remove(name)
|
| 247 |
+
n['ids'].append(labelid)
|
| 248 |
+
n['names'].append(name)
|
| 249 |
+
document.settings.env.labels[name] = \
|
| 250 |
+
document.settings.env.docname, labelid, sectname
|
| 251 |
+
break
|
| 252 |
+
|
| 253 |
+
|
| 254 |
+
class PlotDirective(Directive):
|
| 255 |
+
"""The ``.. plot::`` directive, as documented in the module's docstring."""
|
| 256 |
+
|
| 257 |
+
has_content = True
|
| 258 |
+
required_arguments = 0
|
| 259 |
+
optional_arguments = 2
|
| 260 |
+
final_argument_whitespace = False
|
| 261 |
+
option_spec = {
|
| 262 |
+
'alt': directives.unchanged,
|
| 263 |
+
'height': directives.length_or_unitless,
|
| 264 |
+
'width': directives.length_or_percentage_or_unitless,
|
| 265 |
+
'scale': directives.nonnegative_int,
|
| 266 |
+
'align': Image.align,
|
| 267 |
+
'class': directives.class_option,
|
| 268 |
+
'include-source': _option_boolean,
|
| 269 |
+
'show-source-link': _option_boolean,
|
| 270 |
+
'format': _option_format,
|
| 271 |
+
'context': _option_context,
|
| 272 |
+
'nofigs': directives.flag,
|
| 273 |
+
'caption': directives.unchanged,
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
def run(self):
|
| 277 |
+
"""Run the plot directive."""
|
| 278 |
+
try:
|
| 279 |
+
return run(self.arguments, self.content, self.options,
|
| 280 |
+
self.state_machine, self.state, self.lineno)
|
| 281 |
+
except Exception as e:
|
| 282 |
+
raise self.error(str(e))
|
| 283 |
+
|
| 284 |
+
|
| 285 |
+
def _copy_css_file(app, exc):
|
| 286 |
+
if exc is None and app.builder.format == 'html':
|
| 287 |
+
src = cbook._get_data_path('plot_directive/plot_directive.css')
|
| 288 |
+
dst = app.outdir / Path('_static')
|
| 289 |
+
dst.mkdir(exist_ok=True)
|
| 290 |
+
# Use copyfile because we do not want to copy src's permissions.
|
| 291 |
+
shutil.copyfile(src, dst / Path('plot_directive.css'))
|
| 292 |
+
|
| 293 |
+
|
| 294 |
+
def setup(app):
|
| 295 |
+
setup.app = app
|
| 296 |
+
setup.config = app.config
|
| 297 |
+
setup.confdir = app.confdir
|
| 298 |
+
app.add_directive('plot', PlotDirective)
|
| 299 |
+
app.add_config_value('plot_pre_code', None, True)
|
| 300 |
+
app.add_config_value('plot_include_source', False, True)
|
| 301 |
+
app.add_config_value('plot_html_show_source_link', True, True)
|
| 302 |
+
app.add_config_value('plot_formats', ['png', 'hires.png', 'pdf'], True)
|
| 303 |
+
app.add_config_value('plot_basedir', None, True)
|
| 304 |
+
app.add_config_value('plot_html_show_formats', True, True)
|
| 305 |
+
app.add_config_value('plot_rcparams', {}, True)
|
| 306 |
+
app.add_config_value('plot_apply_rcparams', False, True)
|
| 307 |
+
app.add_config_value('plot_working_directory', None, True)
|
| 308 |
+
app.add_config_value('plot_template', None, True)
|
| 309 |
+
app.add_config_value('plot_srcset', [], True)
|
| 310 |
+
app.connect('doctree-read', mark_plot_labels)
|
| 311 |
+
app.add_css_file('plot_directive.css')
|
| 312 |
+
app.connect('build-finished', _copy_css_file)
|
| 313 |
+
metadata = {'parallel_read_safe': True, 'parallel_write_safe': True,
|
| 314 |
+
'version': matplotlib.__version__}
|
| 315 |
+
return metadata
|
| 316 |
+
|
| 317 |
+
|
| 318 |
+
# -----------------------------------------------------------------------------
|
| 319 |
+
# Doctest handling
|
| 320 |
+
# -----------------------------------------------------------------------------
|
| 321 |
+
|
| 322 |
+
|
| 323 |
+
def contains_doctest(text):
|
| 324 |
+
try:
|
| 325 |
+
# check if it's valid Python as-is
|
| 326 |
+
compile(text, '<string>', 'exec')
|
| 327 |
+
return False
|
| 328 |
+
except SyntaxError:
|
| 329 |
+
pass
|
| 330 |
+
r = re.compile(r'^\s*>>>', re.M)
|
| 331 |
+
m = r.search(text)
|
| 332 |
+
return bool(m)
|
| 333 |
+
|
| 334 |
+
|
| 335 |
+
def _split_code_at_show(text, function_name):
|
| 336 |
+
"""Split code at plt.show()."""
|
| 337 |
+
|
| 338 |
+
is_doctest = contains_doctest(text)
|
| 339 |
+
if function_name is None:
|
| 340 |
+
parts = []
|
| 341 |
+
part = []
|
| 342 |
+
for line in text.split("\n"):
|
| 343 |
+
if ((not is_doctest and line.startswith('plt.show(')) or
|
| 344 |
+
(is_doctest and line.strip() == '>>> plt.show()')):
|
| 345 |
+
part.append(line)
|
| 346 |
+
parts.append("\n".join(part))
|
| 347 |
+
part = []
|
| 348 |
+
else:
|
| 349 |
+
part.append(line)
|
| 350 |
+
if "\n".join(part).strip():
|
| 351 |
+
parts.append("\n".join(part))
|
| 352 |
+
else:
|
| 353 |
+
parts = [text]
|
| 354 |
+
return is_doctest, parts
|
| 355 |
+
|
| 356 |
+
|
| 357 |
+
# -----------------------------------------------------------------------------
|
| 358 |
+
# Template
|
| 359 |
+
# -----------------------------------------------------------------------------
|
| 360 |
+
|
| 361 |
+
_SOURCECODE = """
|
| 362 |
+
{{ source_code }}
|
| 363 |
+
|
| 364 |
+
.. only:: html
|
| 365 |
+
|
| 366 |
+
{% if src_name or (html_show_formats and not multi_image) %}
|
| 367 |
+
(
|
| 368 |
+
{%- if src_name -%}
|
| 369 |
+
:download:`Source code <{{ build_dir }}/{{ src_name }}>`
|
| 370 |
+
{%- endif -%}
|
| 371 |
+
{%- if html_show_formats and not multi_image -%}
|
| 372 |
+
{%- for img in images -%}
|
| 373 |
+
{%- for fmt in img.formats -%}
|
| 374 |
+
{%- if src_name or not loop.first -%}, {% endif -%}
|
| 375 |
+
:download:`{{ fmt }} <{{ build_dir }}/{{ img.basename }}.{{ fmt }}>`
|
| 376 |
+
{%- endfor -%}
|
| 377 |
+
{%- endfor -%}
|
| 378 |
+
{%- endif -%}
|
| 379 |
+
)
|
| 380 |
+
{% endif %}
|
| 381 |
+
"""
|
| 382 |
+
|
| 383 |
+
TEMPLATE_SRCSET = _SOURCECODE + """
|
| 384 |
+
{% for img in images %}
|
| 385 |
+
.. figure-mpl:: {{ build_dir }}/{{ img.basename }}.{{ default_fmt }}
|
| 386 |
+
{% for option in options -%}
|
| 387 |
+
{{ option }}
|
| 388 |
+
{% endfor %}
|
| 389 |
+
{%- if caption -%}
|
| 390 |
+
{{ caption }} {# appropriate leading whitespace added beforehand #}
|
| 391 |
+
{% endif -%}
|
| 392 |
+
{%- if srcset -%}
|
| 393 |
+
:srcset: {{ build_dir }}/{{ img.basename }}.{{ default_fmt }}
|
| 394 |
+
{%- for sr in srcset -%}
|
| 395 |
+
, {{ build_dir }}/{{ img.basename }}.{{ sr }}.{{ default_fmt }} {{sr}}
|
| 396 |
+
{%- endfor -%}
|
| 397 |
+
{% endif %}
|
| 398 |
+
|
| 399 |
+
{% if html_show_formats and multi_image %}
|
| 400 |
+
(
|
| 401 |
+
{%- for fmt in img.formats -%}
|
| 402 |
+
{%- if not loop.first -%}, {% endif -%}
|
| 403 |
+
:download:`{{ fmt }} <{{ build_dir }}/{{ img.basename }}.{{ fmt }}>`
|
| 404 |
+
{%- endfor -%}
|
| 405 |
+
)
|
| 406 |
+
{% endif %}
|
| 407 |
+
|
| 408 |
+
|
| 409 |
+
{% endfor %}
|
| 410 |
+
|
| 411 |
+
.. only:: not html
|
| 412 |
+
|
| 413 |
+
{% for img in images %}
|
| 414 |
+
.. figure-mpl:: {{ build_dir }}/{{ img.basename }}.*
|
| 415 |
+
{% for option in options -%}
|
| 416 |
+
{{ option }}
|
| 417 |
+
{% endfor -%}
|
| 418 |
+
|
| 419 |
+
{{ caption }} {# appropriate leading whitespace added beforehand #}
|
| 420 |
+
{% endfor %}
|
| 421 |
+
|
| 422 |
+
"""
|
| 423 |
+
|
| 424 |
+
TEMPLATE = _SOURCECODE + """
|
| 425 |
+
|
| 426 |
+
{% for img in images %}
|
| 427 |
+
.. figure:: {{ build_dir }}/{{ img.basename }}.{{ default_fmt }}
|
| 428 |
+
{% for option in options -%}
|
| 429 |
+
{{ option }}
|
| 430 |
+
{% endfor %}
|
| 431 |
+
|
| 432 |
+
{% if html_show_formats and multi_image -%}
|
| 433 |
+
(
|
| 434 |
+
{%- for fmt in img.formats -%}
|
| 435 |
+
{%- if not loop.first -%}, {% endif -%}
|
| 436 |
+
:download:`{{ fmt }} <{{ build_dir }}/{{ img.basename }}.{{ fmt }}>`
|
| 437 |
+
{%- endfor -%}
|
| 438 |
+
)
|
| 439 |
+
{%- endif -%}
|
| 440 |
+
|
| 441 |
+
{{ caption }} {# appropriate leading whitespace added beforehand #}
|
| 442 |
+
{% endfor %}
|
| 443 |
+
|
| 444 |
+
.. only:: not html
|
| 445 |
+
|
| 446 |
+
{% for img in images %}
|
| 447 |
+
.. figure:: {{ build_dir }}/{{ img.basename }}.*
|
| 448 |
+
{% for option in options -%}
|
| 449 |
+
{{ option }}
|
| 450 |
+
{% endfor -%}
|
| 451 |
+
|
| 452 |
+
{{ caption }} {# appropriate leading whitespace added beforehand #}
|
| 453 |
+
{% endfor %}
|
| 454 |
+
|
| 455 |
+
"""
|
| 456 |
+
|
| 457 |
+
exception_template = """
|
| 458 |
+
.. only:: html
|
| 459 |
+
|
| 460 |
+
[`source code <%(linkdir)s/%(basename)s.py>`__]
|
| 461 |
+
|
| 462 |
+
Exception occurred rendering plot.
|
| 463 |
+
|
| 464 |
+
"""
|
| 465 |
+
|
| 466 |
+
# the context of the plot for all directives specified with the
|
| 467 |
+
# :context: option
|
| 468 |
+
plot_context = dict()
|
| 469 |
+
|
| 470 |
+
|
| 471 |
+
class ImageFile:
|
| 472 |
+
def __init__(self, basename, dirname):
|
| 473 |
+
self.basename = basename
|
| 474 |
+
self.dirname = dirname
|
| 475 |
+
self.formats = []
|
| 476 |
+
|
| 477 |
+
def filename(self, format):
|
| 478 |
+
return os.path.join(self.dirname, f"{self.basename}.{format}")
|
| 479 |
+
|
| 480 |
+
def filenames(self):
|
| 481 |
+
return [self.filename(fmt) for fmt in self.formats]
|
| 482 |
+
|
| 483 |
+
|
| 484 |
+
def out_of_date(original, derived, includes=None):
|
| 485 |
+
"""
|
| 486 |
+
Return whether *derived* is out-of-date relative to *original* or any of
|
| 487 |
+
the RST files included in it using the RST include directive (*includes*).
|
| 488 |
+
*derived* and *original* are full paths, and *includes* is optionally a
|
| 489 |
+
list of full paths which may have been included in the *original*.
|
| 490 |
+
"""
|
| 491 |
+
if not os.path.exists(derived):
|
| 492 |
+
return True
|
| 493 |
+
|
| 494 |
+
if includes is None:
|
| 495 |
+
includes = []
|
| 496 |
+
files_to_check = [original, *includes]
|
| 497 |
+
|
| 498 |
+
def out_of_date_one(original, derived_mtime):
|
| 499 |
+
return (os.path.exists(original) and
|
| 500 |
+
derived_mtime < os.stat(original).st_mtime)
|
| 501 |
+
|
| 502 |
+
derived_mtime = os.stat(derived).st_mtime
|
| 503 |
+
return any(out_of_date_one(f, derived_mtime) for f in files_to_check)
|
| 504 |
+
|
| 505 |
+
|
| 506 |
+
class PlotError(RuntimeError):
|
| 507 |
+
pass
|
| 508 |
+
|
| 509 |
+
|
| 510 |
+
def _run_code(code, code_path, ns=None, function_name=None):
|
| 511 |
+
"""
|
| 512 |
+
Import a Python module from a path, and run the function given by
|
| 513 |
+
name, if function_name is not None.
|
| 514 |
+
"""
|
| 515 |
+
|
| 516 |
+
# Change the working directory to the directory of the example, so
|
| 517 |
+
# it can get at its data files, if any. Add its path to sys.path
|
| 518 |
+
# so it can import any helper modules sitting beside it.
|
| 519 |
+
pwd = os.getcwd()
|
| 520 |
+
if setup.config.plot_working_directory is not None:
|
| 521 |
+
try:
|
| 522 |
+
os.chdir(setup.config.plot_working_directory)
|
| 523 |
+
except OSError as err:
|
| 524 |
+
raise OSError(f'{err}\n`plot_working_directory` option in '
|
| 525 |
+
f'Sphinx configuration file must be a valid '
|
| 526 |
+
f'directory path') from err
|
| 527 |
+
except TypeError as err:
|
| 528 |
+
raise TypeError(f'{err}\n`plot_working_directory` option in '
|
| 529 |
+
f'Sphinx configuration file must be a string or '
|
| 530 |
+
f'None') from err
|
| 531 |
+
elif code_path is not None:
|
| 532 |
+
dirname = os.path.abspath(os.path.dirname(code_path))
|
| 533 |
+
os.chdir(dirname)
|
| 534 |
+
|
| 535 |
+
with cbook._setattr_cm(
|
| 536 |
+
sys, argv=[code_path], path=[os.getcwd(), *sys.path]), \
|
| 537 |
+
contextlib.redirect_stdout(StringIO()):
|
| 538 |
+
try:
|
| 539 |
+
if ns is None:
|
| 540 |
+
ns = {}
|
| 541 |
+
if not ns:
|
| 542 |
+
if setup.config.plot_pre_code is None:
|
| 543 |
+
exec('import numpy as np\n'
|
| 544 |
+
'from matplotlib import pyplot as plt\n', ns)
|
| 545 |
+
else:
|
| 546 |
+
exec(str(setup.config.plot_pre_code), ns)
|
| 547 |
+
if "__main__" in code:
|
| 548 |
+
ns['__name__'] = '__main__'
|
| 549 |
+
|
| 550 |
+
# Patch out non-interactive show() to avoid triggering a warning.
|
| 551 |
+
with cbook._setattr_cm(FigureManagerBase, show=lambda self: None):
|
| 552 |
+
exec(code, ns)
|
| 553 |
+
if function_name is not None:
|
| 554 |
+
exec(function_name + "()", ns)
|
| 555 |
+
|
| 556 |
+
except (Exception, SystemExit) as err:
|
| 557 |
+
raise PlotError(traceback.format_exc()) from err
|
| 558 |
+
finally:
|
| 559 |
+
os.chdir(pwd)
|
| 560 |
+
return ns
|
| 561 |
+
|
| 562 |
+
|
| 563 |
+
def clear_state(plot_rcparams, close=True):
|
| 564 |
+
if close:
|
| 565 |
+
plt.close('all')
|
| 566 |
+
matplotlib.rc_file_defaults()
|
| 567 |
+
matplotlib.rcParams.update(plot_rcparams)
|
| 568 |
+
|
| 569 |
+
|
| 570 |
+
def get_plot_formats(config):
|
| 571 |
+
default_dpi = {'png': 80, 'hires.png': 200, 'pdf': 200}
|
| 572 |
+
formats = []
|
| 573 |
+
plot_formats = config.plot_formats
|
| 574 |
+
for fmt in plot_formats:
|
| 575 |
+
if isinstance(fmt, str):
|
| 576 |
+
if ':' in fmt:
|
| 577 |
+
suffix, dpi = fmt.split(':')
|
| 578 |
+
formats.append((str(suffix), int(dpi)))
|
| 579 |
+
else:
|
| 580 |
+
formats.append((fmt, default_dpi.get(fmt, 80)))
|
| 581 |
+
elif isinstance(fmt, (tuple, list)) and len(fmt) == 2:
|
| 582 |
+
formats.append((str(fmt[0]), int(fmt[1])))
|
| 583 |
+
else:
|
| 584 |
+
raise PlotError('invalid image format "%r" in plot_formats' % fmt)
|
| 585 |
+
return formats
|
| 586 |
+
|
| 587 |
+
|
| 588 |
+
def _parse_srcset(entries):
|
| 589 |
+
"""
|
| 590 |
+
Parse srcset for multiples...
|
| 591 |
+
"""
|
| 592 |
+
srcset = {}
|
| 593 |
+
for entry in entries:
|
| 594 |
+
entry = entry.strip()
|
| 595 |
+
if len(entry) >= 2:
|
| 596 |
+
mult = entry[:-1]
|
| 597 |
+
srcset[float(mult)] = entry
|
| 598 |
+
else:
|
| 599 |
+
raise ExtensionError(f'srcset argument {entry!r} is invalid.')
|
| 600 |
+
return srcset
|
| 601 |
+
|
| 602 |
+
|
| 603 |
+
def render_figures(code, code_path, output_dir, output_base, context,
|
| 604 |
+
function_name, config, context_reset=False,
|
| 605 |
+
close_figs=False,
|
| 606 |
+
code_includes=None):
|
| 607 |
+
"""
|
| 608 |
+
Run a pyplot script and save the images in *output_dir*.
|
| 609 |
+
|
| 610 |
+
Save the images under *output_dir* with file names derived from
|
| 611 |
+
*output_base*
|
| 612 |
+
"""
|
| 613 |
+
|
| 614 |
+
if function_name is not None:
|
| 615 |
+
output_base = f'{output_base}_{function_name}'
|
| 616 |
+
formats = get_plot_formats(config)
|
| 617 |
+
|
| 618 |
+
# Try to determine if all images already exist
|
| 619 |
+
|
| 620 |
+
is_doctest, code_pieces = _split_code_at_show(code, function_name)
|
| 621 |
+
# Look for single-figure output files first
|
| 622 |
+
img = ImageFile(output_base, output_dir)
|
| 623 |
+
for format, dpi in formats:
|
| 624 |
+
if context or out_of_date(code_path, img.filename(format),
|
| 625 |
+
includes=code_includes):
|
| 626 |
+
all_exists = False
|
| 627 |
+
break
|
| 628 |
+
img.formats.append(format)
|
| 629 |
+
else:
|
| 630 |
+
all_exists = True
|
| 631 |
+
|
| 632 |
+
if all_exists:
|
| 633 |
+
return [(code, [img])]
|
| 634 |
+
|
| 635 |
+
# Then look for multi-figure output files
|
| 636 |
+
results = []
|
| 637 |
+
for i, code_piece in enumerate(code_pieces):
|
| 638 |
+
images = []
|
| 639 |
+
for j in itertools.count():
|
| 640 |
+
if len(code_pieces) > 1:
|
| 641 |
+
img = ImageFile('%s_%02d_%02d' % (output_base, i, j),
|
| 642 |
+
output_dir)
|
| 643 |
+
else:
|
| 644 |
+
img = ImageFile('%s_%02d' % (output_base, j), output_dir)
|
| 645 |
+
for fmt, dpi in formats:
|
| 646 |
+
if context or out_of_date(code_path, img.filename(fmt),
|
| 647 |
+
includes=code_includes):
|
| 648 |
+
all_exists = False
|
| 649 |
+
break
|
| 650 |
+
img.formats.append(fmt)
|
| 651 |
+
|
| 652 |
+
# assume that if we have one, we have them all
|
| 653 |
+
if not all_exists:
|
| 654 |
+
all_exists = (j > 0)
|
| 655 |
+
break
|
| 656 |
+
images.append(img)
|
| 657 |
+
if not all_exists:
|
| 658 |
+
break
|
| 659 |
+
results.append((code_piece, images))
|
| 660 |
+
else:
|
| 661 |
+
all_exists = True
|
| 662 |
+
|
| 663 |
+
if all_exists:
|
| 664 |
+
return results
|
| 665 |
+
|
| 666 |
+
# We didn't find the files, so build them
|
| 667 |
+
|
| 668 |
+
results = []
|
| 669 |
+
ns = plot_context if context else {}
|
| 670 |
+
|
| 671 |
+
if context_reset:
|
| 672 |
+
clear_state(config.plot_rcparams)
|
| 673 |
+
plot_context.clear()
|
| 674 |
+
|
| 675 |
+
close_figs = not context or close_figs
|
| 676 |
+
|
| 677 |
+
for i, code_piece in enumerate(code_pieces):
|
| 678 |
+
|
| 679 |
+
if not context or config.plot_apply_rcparams:
|
| 680 |
+
clear_state(config.plot_rcparams, close_figs)
|
| 681 |
+
elif close_figs:
|
| 682 |
+
plt.close('all')
|
| 683 |
+
|
| 684 |
+
_run_code(doctest.script_from_examples(code_piece) if is_doctest
|
| 685 |
+
else code_piece,
|
| 686 |
+
code_path, ns, function_name)
|
| 687 |
+
|
| 688 |
+
images = []
|
| 689 |
+
fig_managers = _pylab_helpers.Gcf.get_all_fig_managers()
|
| 690 |
+
for j, figman in enumerate(fig_managers):
|
| 691 |
+
if len(fig_managers) == 1 and len(code_pieces) == 1:
|
| 692 |
+
img = ImageFile(output_base, output_dir)
|
| 693 |
+
elif len(code_pieces) == 1:
|
| 694 |
+
img = ImageFile("%s_%02d" % (output_base, j), output_dir)
|
| 695 |
+
else:
|
| 696 |
+
img = ImageFile("%s_%02d_%02d" % (output_base, i, j),
|
| 697 |
+
output_dir)
|
| 698 |
+
images.append(img)
|
| 699 |
+
|
| 700 |
+
for fmt, dpi in formats:
|
| 701 |
+
try:
|
| 702 |
+
figman.canvas.figure.savefig(img.filename(fmt), dpi=dpi)
|
| 703 |
+
if fmt == formats[0][0] and config.plot_srcset:
|
| 704 |
+
# save a 2x, 3x etc version of the default...
|
| 705 |
+
srcset = _parse_srcset(config.plot_srcset)
|
| 706 |
+
for mult, suffix in srcset.items():
|
| 707 |
+
fm = f'{suffix}.{fmt}'
|
| 708 |
+
img.formats.append(fm)
|
| 709 |
+
figman.canvas.figure.savefig(img.filename(fm),
|
| 710 |
+
dpi=int(dpi * mult))
|
| 711 |
+
except Exception as err:
|
| 712 |
+
raise PlotError(traceback.format_exc()) from err
|
| 713 |
+
img.formats.append(fmt)
|
| 714 |
+
|
| 715 |
+
results.append((code_piece, images))
|
| 716 |
+
|
| 717 |
+
if not context or config.plot_apply_rcparams:
|
| 718 |
+
clear_state(config.plot_rcparams, close=not context)
|
| 719 |
+
|
| 720 |
+
return results
|
| 721 |
+
|
| 722 |
+
|
| 723 |
+
def run(arguments, content, options, state_machine, state, lineno):
|
| 724 |
+
document = state_machine.document
|
| 725 |
+
config = document.settings.env.config
|
| 726 |
+
nofigs = 'nofigs' in options
|
| 727 |
+
|
| 728 |
+
if config.plot_srcset and setup.app.builder.name == 'singlehtml':
|
| 729 |
+
raise ExtensionError(
|
| 730 |
+
'plot_srcset option not compatible with single HTML writer')
|
| 731 |
+
|
| 732 |
+
formats = get_plot_formats(config)
|
| 733 |
+
default_fmt = formats[0][0]
|
| 734 |
+
|
| 735 |
+
options.setdefault('include-source', config.plot_include_source)
|
| 736 |
+
options.setdefault('show-source-link', config.plot_html_show_source_link)
|
| 737 |
+
|
| 738 |
+
if 'class' in options:
|
| 739 |
+
# classes are parsed into a list of string, and output by simply
|
| 740 |
+
# printing the list, abusing the fact that RST guarantees to strip
|
| 741 |
+
# non-conforming characters
|
| 742 |
+
options['class'] = ['plot-directive'] + options['class']
|
| 743 |
+
else:
|
| 744 |
+
options.setdefault('class', ['plot-directive'])
|
| 745 |
+
keep_context = 'context' in options
|
| 746 |
+
context_opt = None if not keep_context else options['context']
|
| 747 |
+
|
| 748 |
+
rst_file = document.attributes['source']
|
| 749 |
+
rst_dir = os.path.dirname(rst_file)
|
| 750 |
+
|
| 751 |
+
if len(arguments):
|
| 752 |
+
if not config.plot_basedir:
|
| 753 |
+
source_file_name = os.path.join(setup.app.builder.srcdir,
|
| 754 |
+
directives.uri(arguments[0]))
|
| 755 |
+
else:
|
| 756 |
+
source_file_name = os.path.join(setup.confdir, config.plot_basedir,
|
| 757 |
+
directives.uri(arguments[0]))
|
| 758 |
+
# If there is content, it will be passed as a caption.
|
| 759 |
+
caption = '\n'.join(content)
|
| 760 |
+
|
| 761 |
+
# Enforce unambiguous use of captions.
|
| 762 |
+
if "caption" in options:
|
| 763 |
+
if caption:
|
| 764 |
+
raise ValueError(
|
| 765 |
+
'Caption specified in both content and options.'
|
| 766 |
+
' Please remove ambiguity.'
|
| 767 |
+
)
|
| 768 |
+
# Use caption option
|
| 769 |
+
caption = options["caption"]
|
| 770 |
+
|
| 771 |
+
# If the optional function name is provided, use it
|
| 772 |
+
if len(arguments) == 2:
|
| 773 |
+
function_name = arguments[1]
|
| 774 |
+
else:
|
| 775 |
+
function_name = None
|
| 776 |
+
|
| 777 |
+
code = Path(source_file_name).read_text(encoding='utf-8')
|
| 778 |
+
output_base = os.path.basename(source_file_name)
|
| 779 |
+
else:
|
| 780 |
+
source_file_name = rst_file
|
| 781 |
+
code = textwrap.dedent("\n".join(map(str, content)))
|
| 782 |
+
counter = document.attributes.get('_plot_counter', 0) + 1
|
| 783 |
+
document.attributes['_plot_counter'] = counter
|
| 784 |
+
base, ext = os.path.splitext(os.path.basename(source_file_name))
|
| 785 |
+
output_base = '%s-%d.py' % (base, counter)
|
| 786 |
+
function_name = None
|
| 787 |
+
caption = options.get('caption', '')
|
| 788 |
+
|
| 789 |
+
base, source_ext = os.path.splitext(output_base)
|
| 790 |
+
if source_ext in ('.py', '.rst', '.txt'):
|
| 791 |
+
output_base = base
|
| 792 |
+
else:
|
| 793 |
+
source_ext = ''
|
| 794 |
+
|
| 795 |
+
# ensure that LaTeX includegraphics doesn't choke in foo.bar.pdf filenames
|
| 796 |
+
output_base = output_base.replace('.', '-')
|
| 797 |
+
|
| 798 |
+
# is it in doctest format?
|
| 799 |
+
is_doctest = contains_doctest(code)
|
| 800 |
+
if 'format' in options:
|
| 801 |
+
if options['format'] == 'python':
|
| 802 |
+
is_doctest = False
|
| 803 |
+
else:
|
| 804 |
+
is_doctest = True
|
| 805 |
+
|
| 806 |
+
# determine output directory name fragment
|
| 807 |
+
source_rel_name = relpath(source_file_name, setup.confdir)
|
| 808 |
+
source_rel_dir = os.path.dirname(source_rel_name).lstrip(os.path.sep)
|
| 809 |
+
|
| 810 |
+
# build_dir: where to place output files (temporarily)
|
| 811 |
+
build_dir = os.path.join(os.path.dirname(setup.app.doctreedir),
|
| 812 |
+
'plot_directive',
|
| 813 |
+
source_rel_dir)
|
| 814 |
+
# get rid of .. in paths, also changes pathsep
|
| 815 |
+
# see note in Python docs for warning about symbolic links on Windows.
|
| 816 |
+
# need to compare source and dest paths at end
|
| 817 |
+
build_dir = os.path.normpath(build_dir)
|
| 818 |
+
os.makedirs(build_dir, exist_ok=True)
|
| 819 |
+
|
| 820 |
+
# how to link to files from the RST file
|
| 821 |
+
try:
|
| 822 |
+
build_dir_link = relpath(build_dir, rst_dir).replace(os.path.sep, '/')
|
| 823 |
+
except ValueError:
|
| 824 |
+
# on Windows, relpath raises ValueError when path and start are on
|
| 825 |
+
# different mounts/drives
|
| 826 |
+
build_dir_link = build_dir
|
| 827 |
+
|
| 828 |
+
# get list of included rst files so that the output is updated when any
|
| 829 |
+
# plots in the included files change. These attributes are modified by the
|
| 830 |
+
# include directive (see the docutils.parsers.rst.directives.misc module).
|
| 831 |
+
try:
|
| 832 |
+
source_file_includes = [os.path.join(os.getcwd(), t[0])
|
| 833 |
+
for t in state.document.include_log]
|
| 834 |
+
except AttributeError:
|
| 835 |
+
# the document.include_log attribute only exists in docutils >=0.17,
|
| 836 |
+
# before that we need to inspect the state machine
|
| 837 |
+
possible_sources = {os.path.join(setup.confdir, t[0])
|
| 838 |
+
for t in state_machine.input_lines.items}
|
| 839 |
+
source_file_includes = [f for f in possible_sources
|
| 840 |
+
if os.path.isfile(f)]
|
| 841 |
+
# remove the source file itself from the includes
|
| 842 |
+
try:
|
| 843 |
+
source_file_includes.remove(source_file_name)
|
| 844 |
+
except ValueError:
|
| 845 |
+
pass
|
| 846 |
+
|
| 847 |
+
# save script (if necessary)
|
| 848 |
+
if options['show-source-link']:
|
| 849 |
+
Path(build_dir, output_base + source_ext).write_text(
|
| 850 |
+
doctest.script_from_examples(code)
|
| 851 |
+
if source_file_name == rst_file and is_doctest
|
| 852 |
+
else code,
|
| 853 |
+
encoding='utf-8')
|
| 854 |
+
|
| 855 |
+
# make figures
|
| 856 |
+
try:
|
| 857 |
+
results = render_figures(code=code,
|
| 858 |
+
code_path=source_file_name,
|
| 859 |
+
output_dir=build_dir,
|
| 860 |
+
output_base=output_base,
|
| 861 |
+
context=keep_context,
|
| 862 |
+
function_name=function_name,
|
| 863 |
+
config=config,
|
| 864 |
+
context_reset=context_opt == 'reset',
|
| 865 |
+
close_figs=context_opt == 'close-figs',
|
| 866 |
+
code_includes=source_file_includes)
|
| 867 |
+
errors = []
|
| 868 |
+
except PlotError as err:
|
| 869 |
+
reporter = state.memo.reporter
|
| 870 |
+
sm = reporter.system_message(
|
| 871 |
+
2, "Exception occurred in plotting {}\n from {}:\n{}".format(
|
| 872 |
+
output_base, source_file_name, err),
|
| 873 |
+
line=lineno)
|
| 874 |
+
results = [(code, [])]
|
| 875 |
+
errors = [sm]
|
| 876 |
+
|
| 877 |
+
# Properly indent the caption
|
| 878 |
+
if caption and config.plot_srcset:
|
| 879 |
+
caption = f':caption: {caption}'
|
| 880 |
+
elif caption:
|
| 881 |
+
caption = '\n' + '\n'.join(' ' + line.strip()
|
| 882 |
+
for line in caption.split('\n'))
|
| 883 |
+
# generate output restructuredtext
|
| 884 |
+
total_lines = []
|
| 885 |
+
for j, (code_piece, images) in enumerate(results):
|
| 886 |
+
if options['include-source']:
|
| 887 |
+
if is_doctest:
|
| 888 |
+
lines = ['', *code_piece.splitlines()]
|
| 889 |
+
else:
|
| 890 |
+
lines = ['.. code-block:: python', '',
|
| 891 |
+
*textwrap.indent(code_piece, ' ').splitlines()]
|
| 892 |
+
source_code = "\n".join(lines)
|
| 893 |
+
else:
|
| 894 |
+
source_code = ""
|
| 895 |
+
|
| 896 |
+
if nofigs:
|
| 897 |
+
images = []
|
| 898 |
+
|
| 899 |
+
opts = [
|
| 900 |
+
f':{key}: {val}' for key, val in options.items()
|
| 901 |
+
if key in ('alt', 'height', 'width', 'scale', 'align', 'class')]
|
| 902 |
+
|
| 903 |
+
# Not-None src_name signals the need for a source download in the
|
| 904 |
+
# generated html
|
| 905 |
+
if j == 0 and options['show-source-link']:
|
| 906 |
+
src_name = output_base + source_ext
|
| 907 |
+
else:
|
| 908 |
+
src_name = None
|
| 909 |
+
if config.plot_srcset:
|
| 910 |
+
srcset = [*_parse_srcset(config.plot_srcset).values()]
|
| 911 |
+
template = TEMPLATE_SRCSET
|
| 912 |
+
else:
|
| 913 |
+
srcset = None
|
| 914 |
+
template = TEMPLATE
|
| 915 |
+
|
| 916 |
+
result = jinja2.Template(config.plot_template or template).render(
|
| 917 |
+
default_fmt=default_fmt,
|
| 918 |
+
build_dir=build_dir_link,
|
| 919 |
+
src_name=src_name,
|
| 920 |
+
multi_image=len(images) > 1,
|
| 921 |
+
options=opts,
|
| 922 |
+
srcset=srcset,
|
| 923 |
+
images=images,
|
| 924 |
+
source_code=source_code,
|
| 925 |
+
html_show_formats=config.plot_html_show_formats and len(images),
|
| 926 |
+
caption=caption)
|
| 927 |
+
total_lines.extend(result.split("\n"))
|
| 928 |
+
total_lines.extend("\n")
|
| 929 |
+
|
| 930 |
+
if total_lines:
|
| 931 |
+
state_machine.insert_input(total_lines, source=source_file_name)
|
| 932 |
+
|
| 933 |
+
return errors
|
mgm/lib/python3.10/site-packages/matplotlib/sphinxext/roles.py
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Custom roles for the Matplotlib documentation.
|
| 3 |
+
|
| 4 |
+
.. warning::
|
| 5 |
+
|
| 6 |
+
These roles are considered semi-public. They are only intended to be used in
|
| 7 |
+
the Matplotlib documentation.
|
| 8 |
+
|
| 9 |
+
However, it can happen that downstream packages end up pulling these roles into
|
| 10 |
+
their documentation, which will result in documentation build errors. The following
|
| 11 |
+
describes the exact mechanism and how to fix the errors.
|
| 12 |
+
|
| 13 |
+
There are two ways, Matplotlib docstrings can end up in downstream documentation.
|
| 14 |
+
You have to subclass a Matplotlib class and either use the ``:inherited-members:``
|
| 15 |
+
option in your autodoc configuration, or you have to override a method without
|
| 16 |
+
specifying a new docstring; the new method will inherit the original docstring and
|
| 17 |
+
still render in your autodoc. If the docstring contains one of the custom sphinx
|
| 18 |
+
roles, you'll see one of the following error messages:
|
| 19 |
+
|
| 20 |
+
.. code-block:: none
|
| 21 |
+
|
| 22 |
+
Unknown interpreted text role "mpltype".
|
| 23 |
+
Unknown interpreted text role "rc".
|
| 24 |
+
|
| 25 |
+
To fix this, you can add this module as extension to your sphinx :file:`conf.py`::
|
| 26 |
+
|
| 27 |
+
extensions = [
|
| 28 |
+
'matplotlib.sphinxext.roles',
|
| 29 |
+
# Other extensions.
|
| 30 |
+
]
|
| 31 |
+
|
| 32 |
+
.. warning::
|
| 33 |
+
|
| 34 |
+
Direct use of these roles in other packages is not officially supported. We
|
| 35 |
+
reserve the right to modify or remove these roles without prior notification.
|
| 36 |
+
"""
|
| 37 |
+
|
| 38 |
+
from urllib.parse import urlsplit, urlunsplit
|
| 39 |
+
|
| 40 |
+
from docutils import nodes
|
| 41 |
+
|
| 42 |
+
import matplotlib
|
| 43 |
+
from matplotlib import rcParamsDefault
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
class _QueryReference(nodes.Inline, nodes.TextElement):
|
| 47 |
+
"""
|
| 48 |
+
Wraps a reference or pending reference to add a query string.
|
| 49 |
+
|
| 50 |
+
The query string is generated from the attributes added to this node.
|
| 51 |
+
|
| 52 |
+
Also equivalent to a `~docutils.nodes.literal` node.
|
| 53 |
+
"""
|
| 54 |
+
|
| 55 |
+
def to_query_string(self):
|
| 56 |
+
"""Generate query string from node attributes."""
|
| 57 |
+
return '&'.join(f'{name}={value}' for name, value in self.attlist())
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def _visit_query_reference_node(self, node):
|
| 61 |
+
"""
|
| 62 |
+
Resolve *node* into query strings on its ``reference`` children.
|
| 63 |
+
|
| 64 |
+
Then act as if this is a `~docutils.nodes.literal`.
|
| 65 |
+
"""
|
| 66 |
+
query = node.to_query_string()
|
| 67 |
+
for refnode in node.findall(nodes.reference):
|
| 68 |
+
uri = urlsplit(refnode['refuri'])._replace(query=query)
|
| 69 |
+
refnode['refuri'] = urlunsplit(uri)
|
| 70 |
+
|
| 71 |
+
self.visit_literal(node)
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
def _depart_query_reference_node(self, node):
|
| 75 |
+
"""
|
| 76 |
+
Act as if this is a `~docutils.nodes.literal`.
|
| 77 |
+
"""
|
| 78 |
+
self.depart_literal(node)
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
def _rcparam_role(name, rawtext, text, lineno, inliner, options=None, content=None):
|
| 82 |
+
"""
|
| 83 |
+
Sphinx role ``:rc:`` to highlight and link ``rcParams`` entries.
|
| 84 |
+
|
| 85 |
+
Usage: Give the desired ``rcParams`` key as parameter.
|
| 86 |
+
|
| 87 |
+
:code:`:rc:`figure.dpi`` will render as: :rc:`figure.dpi`
|
| 88 |
+
"""
|
| 89 |
+
# Generate a pending cross-reference so that Sphinx will ensure this link
|
| 90 |
+
# isn't broken at some point in the future.
|
| 91 |
+
title = f'rcParams["{text}"]'
|
| 92 |
+
target = 'matplotlibrc-sample'
|
| 93 |
+
ref_nodes, messages = inliner.interpreted(title, f'{title} <{target}>',
|
| 94 |
+
'ref', lineno)
|
| 95 |
+
|
| 96 |
+
qr = _QueryReference(rawtext, highlight=text)
|
| 97 |
+
qr += ref_nodes
|
| 98 |
+
node_list = [qr]
|
| 99 |
+
|
| 100 |
+
# The default backend would be printed as "agg", but that's not correct (as
|
| 101 |
+
# the default is actually determined by fallback).
|
| 102 |
+
if text in rcParamsDefault and text != "backend":
|
| 103 |
+
node_list.extend([
|
| 104 |
+
nodes.Text(' (default: '),
|
| 105 |
+
nodes.literal('', repr(rcParamsDefault[text])),
|
| 106 |
+
nodes.Text(')'),
|
| 107 |
+
])
|
| 108 |
+
|
| 109 |
+
return node_list, messages
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
def _mpltype_role(name, rawtext, text, lineno, inliner, options=None, content=None):
|
| 113 |
+
"""
|
| 114 |
+
Sphinx role ``:mpltype:`` for custom matplotlib types.
|
| 115 |
+
|
| 116 |
+
In Matplotlib, there are a number of type-like concepts that do not have a
|
| 117 |
+
direct type representation; example: color. This role allows to properly
|
| 118 |
+
highlight them in the docs and link to their definition.
|
| 119 |
+
|
| 120 |
+
Currently supported values:
|
| 121 |
+
|
| 122 |
+
- :code:`:mpltype:`color`` will render as: :mpltype:`color`
|
| 123 |
+
|
| 124 |
+
"""
|
| 125 |
+
mpltype = text
|
| 126 |
+
type_to_link_target = {
|
| 127 |
+
'color': 'colors_def',
|
| 128 |
+
}
|
| 129 |
+
if mpltype not in type_to_link_target:
|
| 130 |
+
raise ValueError(f"Unknown mpltype: {mpltype!r}")
|
| 131 |
+
|
| 132 |
+
node_list, messages = inliner.interpreted(
|
| 133 |
+
mpltype, f'{mpltype} <{type_to_link_target[mpltype]}>', 'ref', lineno)
|
| 134 |
+
return node_list, messages
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
def setup(app):
|
| 138 |
+
app.add_role("rc", _rcparam_role)
|
| 139 |
+
app.add_role("mpltype", _mpltype_role)
|
| 140 |
+
app.add_node(
|
| 141 |
+
_QueryReference,
|
| 142 |
+
html=(_visit_query_reference_node, _depart_query_reference_node),
|
| 143 |
+
latex=(_visit_query_reference_node, _depart_query_reference_node),
|
| 144 |
+
text=(_visit_query_reference_node, _depart_query_reference_node),
|
| 145 |
+
)
|
| 146 |
+
return {"version": matplotlib.__version__,
|
| 147 |
+
"parallel_read_safe": True, "parallel_write_safe": True}
|
mgm/lib/python3.10/site-packages/matplotlib/tests/__pycache__/test_constrainedlayout.cpython-310.pyc
ADDED
|
Binary file (21.5 kB). View file
|
|
|
wemm/share/terminfo/t/t3800
ADDED
|
Binary file (410 Bytes). View file
|
|
|
wemm/share/terminfo/t/tek4014-sm
ADDED
|
Binary file (228 Bytes). View file
|
|
|
wemm/share/terminfo/t/tek4015-sm
ADDED
|
Binary file (429 Bytes). View file
|
|
|
wemm/share/terminfo/t/tek4025
ADDED
|
Binary file (669 Bytes). View file
|
|
|
wemm/share/terminfo/t/tek4106brl
ADDED
|
Binary file (920 Bytes). View file
|
|
|
wemm/share/terminfo/t/tek4107
ADDED
|
Binary file (691 Bytes). View file
|
|
|
wemm/share/terminfo/t/tek4113-nd
ADDED
|
Binary file (523 Bytes). View file
|
|
|