matplotlib-rs 0.0.8__cp315-cp315-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- docs/releases/0.0.1.md +268 -0
- docs/releases/0.0.2.md +69 -0
- docs/releases/0.0.3.md +80 -0
- docs/releases/0.0.4.md +73 -0
- docs/releases/0.0.5.md +24 -0
- docs/releases/0.0.6.md +24 -0
- docs/releases/0.0.7.md +24 -0
- docs/releases/0.0.8.md +16 -0
- licenses/LICENSE_CONTOURPY +29 -0
- licenses/LICENSE_CYCLER +27 -0
- licenses/LICENSE_DATEUTIL +54 -0
- licenses/LICENSE_KIWISOLVER +71 -0
- licenses/LICENSE_LIBWEBP +56 -0
- licenses/LICENSE_MATPLOTLIB +1253 -0
- licenses/LICENSE_PYPARSING +20 -0
- licenses/LICENSE_QHULL +39 -0
- licenses/LICENSE_SIX +18 -0
- matplotlib_rs/__init__.py +1683 -0
- matplotlib_rs/__main__.py +27 -0
- matplotlib_rs/_afm.py +500 -0
- matplotlib_rs/_animation_data.py +263 -0
- matplotlib_rs/_api/__init__.py +495 -0
- matplotlib_rs/_api/deprecation.py +534 -0
- matplotlib_rs/_axis_py.py +2991 -0
- matplotlib_rs/_blocking_input.py +31 -0
- matplotlib_rs/_cm.py +1500 -0
- matplotlib_rs/_cm_bivar.py +1289 -0
- matplotlib_rs/_cm_listed.py +2848 -0
- matplotlib_rs/_cm_multivar.py +167 -0
- matplotlib_rs/_color_data.py +1142 -0
- matplotlib_rs/_colormap.py +132 -0
- matplotlib_rs/_constrained_layout.py +825 -0
- matplotlib_rs/_contour.py +108 -0
- matplotlib_rs/_doc_cache.py +12214 -0
- matplotlib_rs/_docstring.py +142 -0
- matplotlib_rs/_enums.py +178 -0
- matplotlib_rs/_figure_rs.py +294 -0
- matplotlib_rs/_fontconfig_pattern.py +129 -0
- matplotlib_rs/_foreign.py +220 -0
- matplotlib_rs/_hook.py +94 -0
- matplotlib_rs/_image.py +160 -0
- matplotlib_rs/_imageio.py +229 -0
- matplotlib_rs/_internal_utils.py +65 -0
- matplotlib_rs/_kiwi.py +484 -0
- matplotlib_rs/_layoutgrid.py +549 -0
- matplotlib_rs/_live.py +192 -0
- matplotlib_rs/_mathtext.py +3103 -0
- matplotlib_rs/_mathtext_data.py +1811 -0
- matplotlib_rs/_mplrs.cp315-win_amd64.pyd +0 -0
- matplotlib_rs/_path.py +25 -0
- matplotlib_rs/_png.py +162 -0
- matplotlib_rs/_pylab_helpers.py +137 -0
- matplotlib_rs/_qhull.py +66 -0
- matplotlib_rs/_rcpush.py +84 -0
- matplotlib_rs/_spines_rs.py +108 -0
- matplotlib_rs/_style_helpers.py +52 -0
- matplotlib_rs/_text_helpers.py +51 -0
- matplotlib_rs/_tight_bbox.py +85 -0
- matplotlib_rs/_tight_layout.py +302 -0
- matplotlib_rs/_tri.py +140 -0
- matplotlib_rs/_type1font.py +1228 -0
- matplotlib_rs/_vendor/__init__.py +8 -0
- matplotlib_rs/_vendor/cycler.py +574 -0
- matplotlib_rs/_vendor/dateutil/__init__.py +27 -0
- matplotlib_rs/_vendor/dateutil/_common.py +44 -0
- matplotlib_rs/_vendor/dateutil/_tzdata_impl.py +148 -0
- matplotlib_rs/_vendor/dateutil/_version.py +5 -0
- matplotlib_rs/_vendor/dateutil/easter.py +90 -0
- matplotlib_rs/_vendor/dateutil/parser/__init__.py +62 -0
- matplotlib_rs/_vendor/dateutil/parser/_parser.py +1614 -0
- matplotlib_rs/_vendor/dateutil/parser/isoparser.py +417 -0
- matplotlib_rs/_vendor/dateutil/relativedelta.py +597 -0
- matplotlib_rs/_vendor/dateutil/rrule.py +1765 -0
- matplotlib_rs/_vendor/dateutil/tz/__init__.py +61 -0
- matplotlib_rs/_vendor/dateutil/tz/_common.py +420 -0
- matplotlib_rs/_vendor/dateutil/tz/_factories.py +81 -0
- matplotlib_rs/_vendor/dateutil/tz/_tzfile.py +1429 -0
- matplotlib_rs/_vendor/dateutil/tz/_tzpath.py +105 -0
- matplotlib_rs/_vendor/dateutil/tz/tz.py +1473 -0
- matplotlib_rs/_vendor/dateutil/tz/win.py +371 -0
- matplotlib_rs/_vendor/dateutil/tzwin.py +3 -0
- matplotlib_rs/_vendor/dateutil/utils.py +72 -0
- matplotlib_rs/_vendor/dateutil/zoneinfo/__init__.py +234 -0
- matplotlib_rs/_vendor/pyparsing/__init__.py +414 -0
- matplotlib_rs/_vendor/pyparsing/actions.py +265 -0
- matplotlib_rs/_vendor/pyparsing/common.py +571 -0
- matplotlib_rs/_vendor/pyparsing/core.py +6973 -0
- matplotlib_rs/_vendor/pyparsing/exceptions.py +354 -0
- matplotlib_rs/_vendor/pyparsing/helpers.py +1770 -0
- matplotlib_rs/_vendor/pyparsing/results.py +929 -0
- matplotlib_rs/_vendor/pyparsing/testing.py +399 -0
- matplotlib_rs/_vendor/pyparsing/unicode.py +357 -0
- matplotlib_rs/_vendor/pyparsing/util.py +515 -0
- matplotlib_rs/_vendor/pyparsing/warnings.py +11 -0
- matplotlib_rs/_vendor/six.py +1004 -0
- matplotlib_rs/animation.py +1843 -0
- matplotlib_rs/artist.py +2302 -0
- matplotlib_rs/axes/__init__.py +19 -0
- matplotlib_rs/axes/_axes.py +9402 -0
- matplotlib_rs/axes/_bar.py +185 -0
- matplotlib_rs/axes/_base.py +5236 -0
- matplotlib_rs/axes/_base_rs.py +727 -0
- matplotlib_rs/axes/_boxplot.py +391 -0
- matplotlib_rs/axes/_hist.py +99 -0
- matplotlib_rs/axes/_secondary_axes.py +357 -0
- matplotlib_rs/axis.py +1963 -0
- matplotlib_rs/backend_bases.py +3760 -0
- matplotlib_rs/backend_managers.py +388 -0
- matplotlib_rs/backend_tools.py +1002 -0
- matplotlib_rs/backends/__init__.py +6 -0
- matplotlib_rs/backends/_backend_pdf_ps.py +451 -0
- matplotlib_rs/backends/backend_agg.py +552 -0
- matplotlib_rs/backends/backend_mixed.py +123 -0
- matplotlib_rs/backends/backend_pdf.py +2711 -0
- matplotlib_rs/backends/backend_pgf.py +1031 -0
- matplotlib_rs/backends/backend_ps.py +1491 -0
- matplotlib_rs/backends/backend_svg.py +1395 -0
- matplotlib_rs/backends/backend_template.py +214 -0
- matplotlib_rs/backends/registry.py +423 -0
- matplotlib_rs/bezier.py +691 -0
- matplotlib_rs/category.py +236 -0
- matplotlib_rs/cbook.py +2762 -0
- matplotlib_rs/cm.py +251 -0
- matplotlib_rs/collections.py +2711 -0
- matplotlib_rs/colorbar.py +1586 -0
- matplotlib_rs/colorizer.py +909 -0
- matplotlib_rs/colors.py +4278 -0
- matplotlib_rs/container.py +256 -0
- matplotlib_rs/contour.py +1756 -0
- matplotlib_rs/dates.py +1847 -0
- matplotlib_rs/dviread.py +1386 -0
- matplotlib_rs/figure.py +3815 -0
- matplotlib_rs/font_manager.py +1855 -0
- matplotlib_rs/ft2font.py +515 -0
- matplotlib_rs/gridspec.py +808 -0
- matplotlib_rs/hatch.py +244 -0
- matplotlib_rs/image.py +1863 -0
- matplotlib_rs/inset.py +291 -0
- matplotlib_rs/layout_engine.py +310 -0
- matplotlib_rs/legend.py +1480 -0
- matplotlib_rs/legend_handler.py +812 -0
- matplotlib_rs/lines.py +1886 -0
- matplotlib_rs/markers.py +908 -0
- matplotlib_rs/mathtext.py +141 -0
- matplotlib_rs/mlab.py +959 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSans-Bold.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSans-BoldOblique.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSans-Oblique.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSans.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSansDisplay.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSansMono-Bold.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSansMono-BoldOblique.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSansMono-Oblique.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSansMono.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSerif-Bold.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSerif-BoldItalic.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSerif-Italic.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSerif.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/DejaVuSerifDisplay.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/LICENSE_DEJAVU +99 -0
- matplotlib_rs/mpl-data/fonts/ttf/LICENSE_STIX +124 -0
- matplotlib_rs/mpl-data/fonts/ttf/LastResortHE-Regular.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXGeneral.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXGeneralBol.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXGeneralItalic.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXNonUni.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXNonUniBol.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXNonUniIta.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXSizFiveSymReg.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXSizFourSymBol.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXSizFourSymReg.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXSizOneSymBol.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXSizOneSymReg.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXSizThreeSymBol.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXSizThreeSymReg.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXSizTwoSymBol.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/STIXSizTwoSymReg.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/cmb10.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/cmex10.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/cmmi10.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/cmr10.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/cmss10.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/cmsy10.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/cmti10.ttf +0 -0
- matplotlib_rs/mpl-data/fonts/ttf/cmtt10.ttf +0 -0
- matplotlib_rs/mpl-data/images/back-symbolic.svg +46 -0
- matplotlib_rs/mpl-data/images/back.pdf +0 -0
- matplotlib_rs/mpl-data/images/back.png +0 -0
- matplotlib_rs/mpl-data/images/back.svg +46 -0
- matplotlib_rs/mpl-data/images/back_large.png +0 -0
- matplotlib_rs/mpl-data/images/filesave-symbolic.svg +68 -0
- matplotlib_rs/mpl-data/images/filesave.pdf +72 -0
- matplotlib_rs/mpl-data/images/filesave.png +0 -0
- matplotlib_rs/mpl-data/images/filesave.svg +68 -0
- matplotlib_rs/mpl-data/images/filesave_large.png +0 -0
- matplotlib_rs/mpl-data/images/forward-symbolic.svg +46 -0
- matplotlib_rs/mpl-data/images/forward.pdf +0 -0
- matplotlib_rs/mpl-data/images/forward.png +0 -0
- matplotlib_rs/mpl-data/images/forward.svg +46 -0
- matplotlib_rs/mpl-data/images/forward_large.png +0 -0
- matplotlib_rs/mpl-data/images/hand.pdf +0 -0
- matplotlib_rs/mpl-data/images/hand.png +0 -0
- matplotlib_rs/mpl-data/images/hand.svg +130 -0
- matplotlib_rs/mpl-data/images/help-symbolic.svg +52 -0
- matplotlib_rs/mpl-data/images/help.pdf +71 -0
- matplotlib_rs/mpl-data/images/help.png +0 -0
- matplotlib_rs/mpl-data/images/help.svg +52 -0
- matplotlib_rs/mpl-data/images/help_large.png +0 -0
- matplotlib_rs/mpl-data/images/home-symbolic.svg +59 -0
- matplotlib_rs/mpl-data/images/home.pdf +0 -0
- matplotlib_rs/mpl-data/images/home.png +0 -0
- matplotlib_rs/mpl-data/images/home.svg +59 -0
- matplotlib_rs/mpl-data/images/home_large.png +0 -0
- matplotlib_rs/mpl-data/images/matplotlib.pdf +0 -0
- matplotlib_rs/mpl-data/images/matplotlib.png +0 -0
- matplotlib_rs/mpl-data/images/matplotlib.svg +3171 -0
- matplotlib_rs/mpl-data/images/matplotlib_large.png +0 -0
- matplotlib_rs/mpl-data/images/move-symbolic.svg +73 -0
- matplotlib_rs/mpl-data/images/move.pdf +0 -0
- matplotlib_rs/mpl-data/images/move.png +0 -0
- matplotlib_rs/mpl-data/images/move.svg +73 -0
- matplotlib_rs/mpl-data/images/move_large.png +0 -0
- matplotlib_rs/mpl-data/images/qt4_editor_options.pdf +0 -0
- matplotlib_rs/mpl-data/images/qt4_editor_options.png +0 -0
- matplotlib_rs/mpl-data/images/qt4_editor_options.svg +48 -0
- matplotlib_rs/mpl-data/images/qt4_editor_options_large.png +0 -0
- matplotlib_rs/mpl-data/images/subplots-symbolic.svg +81 -0
- matplotlib_rs/mpl-data/images/subplots.pdf +0 -0
- matplotlib_rs/mpl-data/images/subplots.png +0 -0
- matplotlib_rs/mpl-data/images/subplots.svg +81 -0
- matplotlib_rs/mpl-data/images/subplots_large.png +0 -0
- matplotlib_rs/mpl-data/images/zoom_to_rect-symbolic.svg +40 -0
- matplotlib_rs/mpl-data/images/zoom_to_rect.pdf +69 -0
- matplotlib_rs/mpl-data/images/zoom_to_rect.png +0 -0
- matplotlib_rs/mpl-data/images/zoom_to_rect.svg +40 -0
- matplotlib_rs/mpl-data/images/zoom_to_rect_large.png +0 -0
- matplotlib_rs/mpl-data/kpsewhich.lua +4 -0
- matplotlib_rs/mpl-data/matplotlibrc +849 -0
- matplotlib_rs/mpl-data/plot_directive/plot_directive.css +16 -0
- matplotlib_rs/mpl-data/sample_data/Minduka_Present_Blue_Pack.png +0 -0
- matplotlib_rs/mpl-data/sample_data/README.txt +2 -0
- matplotlib_rs/mpl-data/sample_data/Stocks.csv +526 -0
- matplotlib_rs/mpl-data/sample_data/axes_grid/bivariate_normal.npy +0 -0
- matplotlib_rs/mpl-data/sample_data/data_x_x2_x3.csv +11 -0
- matplotlib_rs/mpl-data/sample_data/eeg.dat +0 -0
- matplotlib_rs/mpl-data/sample_data/embedding_in_wx3.xrc +65 -0
- matplotlib_rs/mpl-data/sample_data/goog.npz +0 -0
- matplotlib_rs/mpl-data/sample_data/grace_hopper.jpg +0 -0
- matplotlib_rs/mpl-data/sample_data/jacksboro_fault_dem.npz +0 -0
- matplotlib_rs/mpl-data/sample_data/logo2.png +0 -0
- matplotlib_rs/mpl-data/sample_data/membrane.dat +0 -0
- matplotlib_rs/mpl-data/sample_data/msft.csv +66 -0
- matplotlib_rs/mpl-data/sample_data/s1045.ima.gz +0 -0
- matplotlib_rs/mpl-data/sample_data/topobathy.npz +0 -0
- matplotlib_rs/mpl-data/stylelib/Solarize_Light2.mplstyle +53 -0
- matplotlib_rs/mpl-data/stylelib/_classic_test_patch.mplstyle +8 -0
- matplotlib_rs/mpl-data/stylelib/_mpl-gallery-nogrid.mplstyle +19 -0
- matplotlib_rs/mpl-data/stylelib/_mpl-gallery.mplstyle +19 -0
- matplotlib_rs/mpl-data/stylelib/bmh.mplstyle +27 -0
- matplotlib_rs/mpl-data/stylelib/classic.mplstyle +491 -0
- matplotlib_rs/mpl-data/stylelib/dark_background.mplstyle +26 -0
- matplotlib_rs/mpl-data/stylelib/fast.mplstyle +11 -0
- matplotlib_rs/mpl-data/stylelib/fivethirtyeight.mplstyle +37 -0
- matplotlib_rs/mpl-data/stylelib/ggplot.mplstyle +39 -0
- matplotlib_rs/mpl-data/stylelib/grayscale.mplstyle +29 -0
- matplotlib_rs/mpl-data/stylelib/petroff10.mplstyle +5 -0
- matplotlib_rs/mpl-data/stylelib/petroff6.mplstyle +5 -0
- matplotlib_rs/mpl-data/stylelib/petroff8.mplstyle +5 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-bright.mplstyle +3 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-colorblind.mplstyle +3 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-dark-palette.mplstyle +3 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-dark.mplstyle +30 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-darkgrid.mplstyle +30 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-deep.mplstyle +3 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-muted.mplstyle +3 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-notebook.mplstyle +21 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-paper.mplstyle +21 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-pastel.mplstyle +3 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-poster.mplstyle +21 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-talk.mplstyle +21 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-ticks.mplstyle +30 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-white.mplstyle +30 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8-whitegrid.mplstyle +30 -0
- matplotlib_rs/mpl-data/stylelib/seaborn-v0_8.mplstyle +57 -0
- matplotlib_rs/mpl-data/stylelib/tableau-colorblind10.mplstyle +3 -0
- matplotlib_rs/mpl_toolkits/__init__.py +3 -0
- matplotlib_rs/mpl_toolkits/axes_grid1/__init__.py +11 -0
- matplotlib_rs/mpl_toolkits/axes_grid1/anchored_artists.py +415 -0
- matplotlib_rs/mpl_toolkits/axes_grid1/axes_divider.py +619 -0
- matplotlib_rs/mpl_toolkits/axes_grid1/axes_grid.py +565 -0
- matplotlib_rs/mpl_toolkits/axes_grid1/axes_rgb.py +158 -0
- matplotlib_rs/mpl_toolkits/axes_grid1/axes_size.py +272 -0
- matplotlib_rs/mpl_toolkits/axes_grid1/inset_locator.py +525 -0
- matplotlib_rs/mpl_toolkits/axes_grid1/mpl_axes.py +129 -0
- matplotlib_rs/mpl_toolkits/axes_grid1/parasite_axes.py +261 -0
- matplotlib_rs/mpl_toolkits/axisartist/__init__.py +15 -0
- matplotlib_rs/mpl_toolkits/axisartist/angle_helper.py +396 -0
- matplotlib_rs/mpl_toolkits/axisartist/axes_divider.py +3 -0
- matplotlib_rs/mpl_toolkits/axisartist/axis_artist.py +1148 -0
- matplotlib_rs/mpl_toolkits/axisartist/axisline_style.py +193 -0
- matplotlib_rs/mpl_toolkits/axisartist/axislines.py +475 -0
- matplotlib_rs/mpl_toolkits/axisartist/floating_axes.py +265 -0
- matplotlib_rs/mpl_toolkits/axisartist/grid_finder.py +329 -0
- matplotlib_rs/mpl_toolkits/axisartist/grid_helper_curvelinear.py +353 -0
- matplotlib_rs/mpl_toolkits/axisartist/parasite_axes.py +8 -0
- matplotlib_rs/mpl_toolkits/mplot3d/__init__.py +4 -0
- matplotlib_rs/mpl_toolkits/mplot3d/art3d.py +1758 -0
- matplotlib_rs/mpl_toolkits/mplot3d/axes3d.py +4462 -0
- matplotlib_rs/mpl_toolkits/mplot3d/axis3d.py +807 -0
- matplotlib_rs/mpl_toolkits/mplot3d/proj3d.py +270 -0
- matplotlib_rs/offsetbox.py +1726 -0
- matplotlib_rs/patches.py +5049 -0
- matplotlib_rs/path.py +1147 -0
- matplotlib_rs/patheffects.py +512 -0
- matplotlib_rs/projections/__init__.py +126 -0
- matplotlib_rs/projections/geo.py +512 -0
- matplotlib_rs/projections/polar.py +1518 -0
- matplotlib_rs/pylab.py +68 -0
- matplotlib_rs/pyplot.py +4834 -0
- matplotlib_rs/quiver.py +1236 -0
- matplotlib_rs/rcsetup.py +3435 -0
- matplotlib_rs/sankey.py +815 -0
- matplotlib_rs/scale.py +1002 -0
- matplotlib_rs/spines.py +618 -0
- matplotlib_rs/stackplot.py +144 -0
- matplotlib_rs/streamplot.py +768 -0
- matplotlib_rs/style/__init__.py +269 -0
- matplotlib_rs/style/core.py +28 -0
- matplotlib_rs/table.py +860 -0
- matplotlib_rs/texmanager.py +375 -0
- matplotlib_rs/text.py +2412 -0
- matplotlib_rs/textpath.py +377 -0
- matplotlib_rs/ticker.py +3111 -0
- matplotlib_rs/transforms.py +3069 -0
- matplotlib_rs/tri/__init__.py +24 -0
- matplotlib_rs/tri/_triangulation.py +248 -0
- matplotlib_rs/tri/_tricontour.py +271 -0
- matplotlib_rs/tri/_trifinder.py +97 -0
- matplotlib_rs/tri/_triinterpolate.py +1575 -0
- matplotlib_rs/tri/_tripcolor.py +170 -0
- matplotlib_rs/tri/_triplot.py +87 -0
- matplotlib_rs/tri/_trirefine.py +308 -0
- matplotlib_rs/tri/_tritools.py +264 -0
- matplotlib_rs/typing.py +597 -0
- matplotlib_rs/units.py +196 -0
- matplotlib_rs/widgets.py +4455 -0
- matplotlib_rs-0.0.8.dist-info/METADATA +392 -0
- matplotlib_rs-0.0.8.dist-info/RECORD +352 -0
- matplotlib_rs-0.0.8.dist-info/WHEEL +4 -0
- matplotlib_rs-0.0.8.dist-info/sboms/matplotlib-rs.cyclonedx.json +4390 -0
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# Vendored by tools/vendor_deps.py from python-dateutil 3.0.0 (see licenses/LICENSE_DATEUTIL).
|
|
2
|
+
"""This is an implementation of functions that interact with the tzdata module.
|
|
3
|
+
|
|
4
|
+
It will only live as long as :mod:`dateutil.zoneinfo` lives; when the
|
|
5
|
+
``dateutil.zoneinfo`` module is removed, this can all move under :mod:`tz`.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
import contextlib
|
|
9
|
+
import importlib
|
|
10
|
+
import io
|
|
11
|
+
import os
|
|
12
|
+
import pkgutil
|
|
13
|
+
import sys
|
|
14
|
+
|
|
15
|
+
from matplotlib_rs._vendor import six
|
|
16
|
+
|
|
17
|
+
if six.PY2:
|
|
18
|
+
_TZDATA_LOAD_EXCEPTIONS = (
|
|
19
|
+
ImportError,
|
|
20
|
+
IOError,
|
|
21
|
+
UnicodeEncodeError,
|
|
22
|
+
ValueError,
|
|
23
|
+
)
|
|
24
|
+
else:
|
|
25
|
+
_TZDATA_LOAD_EXCEPTIONS = (
|
|
26
|
+
ImportError,
|
|
27
|
+
FileNotFoundError,
|
|
28
|
+
UnicodeEncodeError,
|
|
29
|
+
IsADirectoryError,
|
|
30
|
+
ValueError,
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
if sys.version_info < (3, 8):
|
|
34
|
+
_nullcontext = getattr(contextlib, "nullcontext", None)
|
|
35
|
+
if _nullcontext is None:
|
|
36
|
+
|
|
37
|
+
@contextlib.contextmanager
|
|
38
|
+
def _nullcontext(v):
|
|
39
|
+
yield v
|
|
40
|
+
|
|
41
|
+
def _get_data(package, resource):
|
|
42
|
+
# pkgutil.get_data returns None rather than raising when the package
|
|
43
|
+
# cannot be found (and on Python 2 raises AttributeError if the
|
|
44
|
+
# package has been blocked by setting sys.modules[name] = None), so
|
|
45
|
+
# import the package first to get the ImportError the callers expect
|
|
46
|
+
# from the importlib.resources versions of these functions.
|
|
47
|
+
importlib.import_module(package)
|
|
48
|
+
|
|
49
|
+
pkg_data = pkgutil.get_data(package, resource)
|
|
50
|
+
if pkg_data is None:
|
|
51
|
+
raise ImportError("No package named %r" % package)
|
|
52
|
+
|
|
53
|
+
return pkg_data
|
|
54
|
+
|
|
55
|
+
def _open_text(package, resource):
|
|
56
|
+
str_package_data = _get_data(package, resource).decode("utf-8")
|
|
57
|
+
|
|
58
|
+
return _nullcontext(io.StringIO(str_package_data))
|
|
59
|
+
|
|
60
|
+
def _open_binary(package, resource):
|
|
61
|
+
return io.BytesIO(_get_data(package, resource))
|
|
62
|
+
|
|
63
|
+
else:
|
|
64
|
+
import importlib.resources
|
|
65
|
+
|
|
66
|
+
if sys.version_info >= (3, 9):
|
|
67
|
+
|
|
68
|
+
def _open_text(package, resource):
|
|
69
|
+
return (
|
|
70
|
+
importlib.resources.files(package)
|
|
71
|
+
.joinpath(resource)
|
|
72
|
+
.open("r", encoding="utf-8")
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
def _open_binary(package, resource):
|
|
76
|
+
return (
|
|
77
|
+
importlib.resources.files(package).joinpath(resource).open("rb")
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
else:
|
|
81
|
+
_open_text = importlib.resources.open_text
|
|
82
|
+
_open_binary = importlib.resources.open_binary
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def _is_package_directory(package, resource):
|
|
86
|
+
"""Whether ``resource`` names a directory inside ``package``.
|
|
87
|
+
|
|
88
|
+
Opening a directory raises IsADirectoryError on POSIX but PermissionError
|
|
89
|
+
on Windows, and on Python < 3.9 there is no portable way to ask the
|
|
90
|
+
resource API, so check the package's search path directly (the tzdata
|
|
91
|
+
package is a regular directory-backed package).
|
|
92
|
+
"""
|
|
93
|
+
try:
|
|
94
|
+
pkg = importlib.import_module(package)
|
|
95
|
+
except ImportError:
|
|
96
|
+
return False
|
|
97
|
+
|
|
98
|
+
for base in getattr(pkg, "__path__", ()):
|
|
99
|
+
if os.path.isdir(os.path.join(base, resource)):
|
|
100
|
+
return True
|
|
101
|
+
|
|
102
|
+
return False
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
def _load_tzdata(key):
|
|
106
|
+
components = key.split("/")
|
|
107
|
+
package_name = ".".join(["tzdata.zoneinfo"] + components[:-1])
|
|
108
|
+
resource_name = components[-1]
|
|
109
|
+
|
|
110
|
+
# Empty or relative path components cannot name a zone, and they produce
|
|
111
|
+
# module names that the import machinery handles inconsistently across
|
|
112
|
+
# versions, so treat them as not found up front. A key naming a directory
|
|
113
|
+
# (a subpackage) is not a zone either, and opening it raises a
|
|
114
|
+
# platform-dependent error, see CPython gh-85702.
|
|
115
|
+
if any(c in ("", ".", "..") for c in components) or _is_package_directory(
|
|
116
|
+
package_name, resource_name
|
|
117
|
+
):
|
|
118
|
+
raise TZFileNotFound("Time zone not found: %s", zone_key=key)
|
|
119
|
+
|
|
120
|
+
try:
|
|
121
|
+
return _open_binary(package_name, resource_name)
|
|
122
|
+
except _TZDATA_LOAD_EXCEPTIONS:
|
|
123
|
+
# ImportError: package does not exist (or tzdata is not installed)
|
|
124
|
+
# FileNotFoundError: the key is not a file in the package
|
|
125
|
+
# UnicodeEncodeError: the key is not encodable as a filename
|
|
126
|
+
# IsADirectoryError: the key names a package rather than a resource
|
|
127
|
+
# ValueError: the key is not a valid path (e.g. contains a NUL byte)
|
|
128
|
+
six.raise_from(
|
|
129
|
+
TZFileNotFound("Time zone not found: %s", zone_key=key), None
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def _load_tzdata_keys():
|
|
134
|
+
with _open_text("tzdata", "zones") as f:
|
|
135
|
+
return list(filter(None, (l.strip() for l in f)))
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
class TZFileNotFound(ValueError):
|
|
139
|
+
"""Indicates that a time zone file isn't present in tzdata."""
|
|
140
|
+
|
|
141
|
+
def __init__(self, msg, *args, **kwargs):
|
|
142
|
+
# TODO: Use keyword-only argument when this is Python 3-only
|
|
143
|
+
zone_key = kwargs.pop("zone_key", None)
|
|
144
|
+
if zone_key is None: # pragma: nocover
|
|
145
|
+
raise TypeError("Required keyword argument missing: zone_key")
|
|
146
|
+
|
|
147
|
+
super(TZFileNotFound, self).__init__(msg % zone_key, *args)
|
|
148
|
+
self.zone_key = zone_key
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# Vendored by tools/vendor_deps.py from python-dateutil 3.0.0 (see licenses/LICENSE_DATEUTIL).
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
"""
|
|
4
|
+
This module offers a generic Easter computing method for any given year, using
|
|
5
|
+
Western, Orthodox or Julian algorithms.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
import datetime
|
|
9
|
+
|
|
10
|
+
__all__ = ["easter", "EASTER_JULIAN", "EASTER_ORTHODOX", "EASTER_WESTERN"]
|
|
11
|
+
|
|
12
|
+
EASTER_JULIAN = 1
|
|
13
|
+
EASTER_ORTHODOX = 2
|
|
14
|
+
EASTER_WESTERN = 3
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def easter(year, method=EASTER_WESTERN):
|
|
18
|
+
"""
|
|
19
|
+
This method was ported from the work done by GM Arts,
|
|
20
|
+
on top of the algorithm by Claus Tondering, which was
|
|
21
|
+
based in part on the algorithm of Ouding (1940), as
|
|
22
|
+
quoted in "Explanatory Supplement to the Astronomical
|
|
23
|
+
Almanac", P. Kenneth Seidelmann, editor.
|
|
24
|
+
|
|
25
|
+
This algorithm implements three different Easter
|
|
26
|
+
calculation methods:
|
|
27
|
+
|
|
28
|
+
1. Original calculation in Julian calendar, valid in
|
|
29
|
+
dates after 326 AD
|
|
30
|
+
2. Original method, with date converted to Gregorian
|
|
31
|
+
calendar, valid in years 1583 to 4099
|
|
32
|
+
3. Revised method, in Gregorian calendar, valid in
|
|
33
|
+
years 1583 to 4099 as well
|
|
34
|
+
|
|
35
|
+
These methods are represented by the constants:
|
|
36
|
+
|
|
37
|
+
* ``EASTER_JULIAN = 1``
|
|
38
|
+
* ``EASTER_ORTHODOX = 2``
|
|
39
|
+
* ``EASTER_WESTERN = 3``
|
|
40
|
+
|
|
41
|
+
The default method is method 3.
|
|
42
|
+
|
|
43
|
+
More about the algorithm may be found at:
|
|
44
|
+
|
|
45
|
+
`GM Arts: Easter Algorithms <http://www.gmarts.org/index.php?go=415>`_
|
|
46
|
+
|
|
47
|
+
and
|
|
48
|
+
|
|
49
|
+
`The Calendar FAQ: Easter <https://www.tondering.dk/claus/cal/easter.php>`_
|
|
50
|
+
|
|
51
|
+
"""
|
|
52
|
+
|
|
53
|
+
if not (1 <= method <= 3):
|
|
54
|
+
raise ValueError("invalid method")
|
|
55
|
+
|
|
56
|
+
# g - Golden year - 1
|
|
57
|
+
# c - Century
|
|
58
|
+
# h - (23 - Epact) mod 30
|
|
59
|
+
# i - Number of days from March 21 to Paschal Full Moon
|
|
60
|
+
# j - Weekday for PFM (0=Sunday, etc)
|
|
61
|
+
# p - Number of days from March 21 to Sunday on or before PFM
|
|
62
|
+
# (-6 to 28 methods 1 & 3, to 56 for method 2)
|
|
63
|
+
# e - Extra days to add for method 2 (converting Julian
|
|
64
|
+
# date to Gregorian date)
|
|
65
|
+
|
|
66
|
+
y = year
|
|
67
|
+
g = y % 19
|
|
68
|
+
e = 0
|
|
69
|
+
if method < 3:
|
|
70
|
+
# Old method
|
|
71
|
+
i = (19*g + 15) % 30
|
|
72
|
+
j = (y + y//4 + i) % 7
|
|
73
|
+
if method == 2:
|
|
74
|
+
# Extra dates to convert Julian to Gregorian date
|
|
75
|
+
e = 10
|
|
76
|
+
if y > 1600:
|
|
77
|
+
e = e + y//100 - 16 - (y//100 - 16)//4
|
|
78
|
+
else:
|
|
79
|
+
# New method
|
|
80
|
+
c = y//100
|
|
81
|
+
h = (c - c//4 - (8*c + 13)//25 + 19*g + 15) % 30
|
|
82
|
+
i = h - (h//28)*(1 - (h//28)*(29//(h + 1))*((21 - g)//11))
|
|
83
|
+
j = (y + y//4 + i + 2 - c + c//4) % 7
|
|
84
|
+
|
|
85
|
+
# p can be from -6 to 56 corresponding to dates 22 March to 23 May
|
|
86
|
+
# (later dates apply to method 2, although 23 May never actually occurs)
|
|
87
|
+
p = i - j + e
|
|
88
|
+
d = 1 + (p + 27 + (p + 6)//40) % 31
|
|
89
|
+
m = 3 + (p + 26)//30
|
|
90
|
+
return datetime.date(int(y), int(m), int(d))
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Vendored by tools/vendor_deps.py from python-dateutil 3.0.0 (see licenses/LICENSE_DATEUTIL).
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
from ._parser import parse, parser, parserinfo, ParserError
|
|
4
|
+
from ._parser import DEFAULTPARSER, DEFAULTTZPARSER
|
|
5
|
+
from ._parser import UnknownTimezoneWarning
|
|
6
|
+
|
|
7
|
+
from ._parser import __doc__
|
|
8
|
+
|
|
9
|
+
from .isoparser import isoparser, isoparse
|
|
10
|
+
|
|
11
|
+
__all__ = ['parse', 'parser', 'parserinfo',
|
|
12
|
+
'isoparse', 'isoparser',
|
|
13
|
+
'ParserError',
|
|
14
|
+
'UnknownTimezoneWarning']
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
###
|
|
18
|
+
# Deprecate portions of the private interface so that downstream code that
|
|
19
|
+
# is improperly relying on it is given *some* notice.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def __deprecated_private_func(f):
|
|
23
|
+
from functools import wraps
|
|
24
|
+
import warnings
|
|
25
|
+
|
|
26
|
+
msg = ('{name} is a private function and may break without warning, '
|
|
27
|
+
'it will be moved and or renamed in future versions.')
|
|
28
|
+
msg = msg.format(name=f.__name__)
|
|
29
|
+
|
|
30
|
+
@wraps(f)
|
|
31
|
+
def deprecated_func(*args, **kwargs):
|
|
32
|
+
warnings.warn(msg, DeprecationWarning)
|
|
33
|
+
return f(*args, **kwargs)
|
|
34
|
+
|
|
35
|
+
return deprecated_func
|
|
36
|
+
|
|
37
|
+
def __deprecate_private_class(c):
|
|
38
|
+
import warnings
|
|
39
|
+
|
|
40
|
+
msg = ('{name} is a private class and may break without warning, '
|
|
41
|
+
'it will be moved and or renamed in future versions.')
|
|
42
|
+
msg = msg.format(name=c.__name__)
|
|
43
|
+
|
|
44
|
+
class private_class(c):
|
|
45
|
+
__doc__ = c.__doc__
|
|
46
|
+
|
|
47
|
+
def __init__(self, *args, **kwargs):
|
|
48
|
+
warnings.warn(msg, DeprecationWarning)
|
|
49
|
+
super(private_class, self).__init__(*args, **kwargs)
|
|
50
|
+
|
|
51
|
+
private_class.__name__ = c.__name__
|
|
52
|
+
|
|
53
|
+
return private_class
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
from ._parser import _timelex, _resultbase
|
|
57
|
+
from ._parser import _tzparser, _parsetz
|
|
58
|
+
|
|
59
|
+
_timelex = __deprecate_private_class(_timelex)
|
|
60
|
+
_tzparser = __deprecate_private_class(_tzparser)
|
|
61
|
+
_resultbase = __deprecate_private_class(_resultbase)
|
|
62
|
+
_parsetz = __deprecated_private_func(_parsetz)
|