matplotlib-rs 0.0.8__cp313-cp313-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.cp313-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
matplotlib_rs/_cm.py
ADDED
|
@@ -0,0 +1,1500 @@
|
|
|
1
|
+
# Vendored from matplotlib 3.11 (see licenses/LICENSE_MATPLOTLIB), adapted for matplotlib_rs.
|
|
2
|
+
"""
|
|
3
|
+
Nothing here but dictionaries for generating LinearSegmentedColormaps,
|
|
4
|
+
and a dictionary of these dictionaries.
|
|
5
|
+
|
|
6
|
+
Documentation for each is in pyplot.colormaps(). Please update this
|
|
7
|
+
with the purpose and type of your colormap if you add data for one here.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from functools import partial
|
|
11
|
+
|
|
12
|
+
import numpy as np
|
|
13
|
+
|
|
14
|
+
_binary_data = {
|
|
15
|
+
'red': ((0., 1., 1.), (1., 0., 0.)),
|
|
16
|
+
'green': ((0., 1., 1.), (1., 0., 0.)),
|
|
17
|
+
'blue': ((0., 1., 1.), (1., 0., 0.))
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
_autumn_data = {'red': ((0., 1.0, 1.0), (1.0, 1.0, 1.0)),
|
|
21
|
+
'green': ((0., 0., 0.), (1.0, 1.0, 1.0)),
|
|
22
|
+
'blue': ((0., 0., 0.), (1.0, 0., 0.))}
|
|
23
|
+
|
|
24
|
+
_bone_data = {'red': ((0., 0., 0.),
|
|
25
|
+
(0.746032, 0.652778, 0.652778),
|
|
26
|
+
(1.0, 1.0, 1.0)),
|
|
27
|
+
'green': ((0., 0., 0.),
|
|
28
|
+
(0.365079, 0.319444, 0.319444),
|
|
29
|
+
(0.746032, 0.777778, 0.777778),
|
|
30
|
+
(1.0, 1.0, 1.0)),
|
|
31
|
+
'blue': ((0., 0., 0.),
|
|
32
|
+
(0.365079, 0.444444, 0.444444),
|
|
33
|
+
(1.0, 1.0, 1.0))}
|
|
34
|
+
|
|
35
|
+
_cool_data = {'red': ((0., 0., 0.), (1.0, 1.0, 1.0)),
|
|
36
|
+
'green': ((0., 1., 1.), (1.0, 0., 0.)),
|
|
37
|
+
'blue': ((0., 1., 1.), (1.0, 1., 1.))}
|
|
38
|
+
|
|
39
|
+
_copper_data = {'red': ((0., 0., 0.),
|
|
40
|
+
(0.809524, 1.000000, 1.000000),
|
|
41
|
+
(1.0, 1.0, 1.0)),
|
|
42
|
+
'green': ((0., 0., 0.),
|
|
43
|
+
(1.0, 0.7812, 0.7812)),
|
|
44
|
+
'blue': ((0., 0., 0.),
|
|
45
|
+
(1.0, 0.4975, 0.4975))}
|
|
46
|
+
|
|
47
|
+
def _flag_red(x): return 0.75 * np.sin((x * 31.5 + 0.25) * np.pi) + 0.5
|
|
48
|
+
def _flag_green(x): return np.sin(x * 31.5 * np.pi)
|
|
49
|
+
def _flag_blue(x): return 0.75 * np.sin((x * 31.5 - 0.25) * np.pi) + 0.5
|
|
50
|
+
_flag_data = {'red': _flag_red, 'green': _flag_green, 'blue': _flag_blue}
|
|
51
|
+
|
|
52
|
+
def _prism_red(x): return 0.75 * np.sin((x * 20.9 + 0.25) * np.pi) + 0.67
|
|
53
|
+
def _prism_green(x): return 0.75 * np.sin((x * 20.9 - 0.25) * np.pi) + 0.33
|
|
54
|
+
def _prism_blue(x): return -1.1 * np.sin((x * 20.9) * np.pi)
|
|
55
|
+
_prism_data = {'red': _prism_red, 'green': _prism_green, 'blue': _prism_blue}
|
|
56
|
+
|
|
57
|
+
def _ch_helper(gamma, s, r, h, p0, p1, x):
|
|
58
|
+
"""Helper function for generating picklable cubehelix colormaps."""
|
|
59
|
+
# Apply gamma factor to emphasise low or high intensity values
|
|
60
|
+
xg = x ** gamma
|
|
61
|
+
# Calculate amplitude and angle of deviation from the black to white
|
|
62
|
+
# diagonal in the plane of constant perceived intensity.
|
|
63
|
+
a = h * xg * (1 - xg) / 2
|
|
64
|
+
phi = 2 * np.pi * (s / 3 + r * x)
|
|
65
|
+
return xg + a * (p0 * np.cos(phi) + p1 * np.sin(phi))
|
|
66
|
+
|
|
67
|
+
def cubehelix(gamma=1.0, s=0.5, r=-1.5, h=1.0):
|
|
68
|
+
"""
|
|
69
|
+
Return custom data dictionary of (r, g, b) conversion functions, which can
|
|
70
|
+
be used with `.ColormapRegistry.register`, for the cubehelix color scheme.
|
|
71
|
+
|
|
72
|
+
Unlike most other color schemes cubehelix was designed by D.A. Green to
|
|
73
|
+
be monotonically increasing in terms of perceived brightness.
|
|
74
|
+
Also, when printed on a black and white postscript printer, the scheme
|
|
75
|
+
results in a greyscale with monotonically increasing brightness.
|
|
76
|
+
This color scheme is named cubehelix because the (r, g, b) values produced
|
|
77
|
+
can be visualised as a squashed helix around the diagonal in the
|
|
78
|
+
(r, g, b) color cube.
|
|
79
|
+
|
|
80
|
+
For a unit color cube (i.e. 3D coordinates for (r, g, b) each in the
|
|
81
|
+
range 0 to 1) the color scheme starts at (r, g, b) = (0, 0, 0), i.e. black,
|
|
82
|
+
and finishes at (r, g, b) = (1, 1, 1), i.e. white. For some fraction *x*,
|
|
83
|
+
between 0 and 1, the color is the corresponding grey value at that
|
|
84
|
+
fraction along the black to white diagonal (x, x, x) plus a color
|
|
85
|
+
element. This color element is calculated in a plane of constant
|
|
86
|
+
perceived intensity and controlled by the following parameters.
|
|
87
|
+
|
|
88
|
+
Parameters
|
|
89
|
+
----------
|
|
90
|
+
gamma : float, default: 1
|
|
91
|
+
Gamma factor emphasizing either low intensity values (gamma < 1), or
|
|
92
|
+
high intensity values (gamma > 1).
|
|
93
|
+
s : float, default: 0.5 (purple)
|
|
94
|
+
The starting color.
|
|
95
|
+
r : float, default: -1.5
|
|
96
|
+
The number of r, g, b rotations in color that are made from the start
|
|
97
|
+
to the end of the color scheme. The default of -1.5 corresponds to ->
|
|
98
|
+
B -> G -> R -> B.
|
|
99
|
+
h : float, default: 1
|
|
100
|
+
The hue, i.e. how saturated the colors are. If this parameter is zero
|
|
101
|
+
then the color scheme is purely a greyscale.
|
|
102
|
+
"""
|
|
103
|
+
return {'red': partial(_ch_helper, gamma, s, r, h, -0.14861, 1.78277),
|
|
104
|
+
'green': partial(_ch_helper, gamma, s, r, h, -0.29227, -0.90649),
|
|
105
|
+
'blue': partial(_ch_helper, gamma, s, r, h, 1.97294, 0.0)}
|
|
106
|
+
|
|
107
|
+
_cubehelix_data = cubehelix()
|
|
108
|
+
|
|
109
|
+
_bwr_data = ((0.0, 0.0, 1.0), (1.0, 1.0, 1.0), (1.0, 0.0, 0.0))
|
|
110
|
+
_brg_data = ((0.0, 0.0, 1.0), (1.0, 0.0, 0.0), (0.0, 1.0, 0.0))
|
|
111
|
+
|
|
112
|
+
# Gnuplot palette functions
|
|
113
|
+
def _g0(x): return 0
|
|
114
|
+
def _g1(x): return 0.5
|
|
115
|
+
def _g2(x): return 1
|
|
116
|
+
def _g3(x): return x
|
|
117
|
+
def _g4(x): return x ** 2
|
|
118
|
+
def _g5(x): return x ** 3
|
|
119
|
+
def _g6(x): return x ** 4
|
|
120
|
+
def _g7(x): return np.sqrt(x)
|
|
121
|
+
def _g8(x): return np.sqrt(np.sqrt(x))
|
|
122
|
+
def _g9(x): return np.sin(x * np.pi / 2)
|
|
123
|
+
def _g10(x): return np.cos(x * np.pi / 2)
|
|
124
|
+
def _g11(x): return np.abs(x - 0.5)
|
|
125
|
+
def _g12(x): return (2 * x - 1) ** 2
|
|
126
|
+
def _g13(x): return np.sin(x * np.pi)
|
|
127
|
+
def _g14(x): return np.abs(np.cos(x * np.pi))
|
|
128
|
+
def _g15(x): return np.sin(x * 2 * np.pi)
|
|
129
|
+
def _g16(x): return np.cos(x * 2 * np.pi)
|
|
130
|
+
def _g17(x): return np.abs(np.sin(x * 2 * np.pi))
|
|
131
|
+
def _g18(x): return np.abs(np.cos(x * 2 * np.pi))
|
|
132
|
+
def _g19(x): return np.abs(np.sin(x * 4 * np.pi))
|
|
133
|
+
def _g20(x): return np.abs(np.cos(x * 4 * np.pi))
|
|
134
|
+
def _g21(x): return 3 * x
|
|
135
|
+
def _g22(x): return 3 * x - 1
|
|
136
|
+
def _g23(x): return 3 * x - 2
|
|
137
|
+
def _g24(x): return np.abs(3 * x - 1)
|
|
138
|
+
def _g25(x): return np.abs(3 * x - 2)
|
|
139
|
+
def _g26(x): return (3 * x - 1) / 2
|
|
140
|
+
def _g27(x): return (3 * x - 2) / 2
|
|
141
|
+
def _g28(x): return np.abs((3 * x - 1) / 2)
|
|
142
|
+
def _g29(x): return np.abs((3 * x - 2) / 2)
|
|
143
|
+
def _g30(x): return x / 0.32 - 0.78125
|
|
144
|
+
def _g31(x): return 2 * x - 0.84
|
|
145
|
+
def _g32(x):
|
|
146
|
+
ret = np.zeros(len(x))
|
|
147
|
+
m = (x < 0.25)
|
|
148
|
+
ret[m] = 4 * x[m]
|
|
149
|
+
m = (x >= 0.25) & (x < 0.92)
|
|
150
|
+
ret[m] = -2 * x[m] + 1.84
|
|
151
|
+
m = (x >= 0.92)
|
|
152
|
+
ret[m] = x[m] / 0.08 - 11.5
|
|
153
|
+
return ret
|
|
154
|
+
def _g33(x): return np.abs(2 * x - 0.5)
|
|
155
|
+
def _g34(x): return 2 * x
|
|
156
|
+
def _g35(x): return 2 * x - 0.5
|
|
157
|
+
def _g36(x): return 2 * x - 1
|
|
158
|
+
|
|
159
|
+
gfunc = {i: globals()[f"_g{i}"] for i in range(37)}
|
|
160
|
+
|
|
161
|
+
_gnuplot_data = {
|
|
162
|
+
'red': gfunc[7],
|
|
163
|
+
'green': gfunc[5],
|
|
164
|
+
'blue': gfunc[15],
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
_gnuplot2_data = {
|
|
168
|
+
'red': gfunc[30],
|
|
169
|
+
'green': gfunc[31],
|
|
170
|
+
'blue': gfunc[32],
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
_ocean_data = {
|
|
174
|
+
'red': gfunc[23],
|
|
175
|
+
'green': gfunc[28],
|
|
176
|
+
'blue': gfunc[3],
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
_afmhot_data = {
|
|
180
|
+
'red': gfunc[34],
|
|
181
|
+
'green': gfunc[35],
|
|
182
|
+
'blue': gfunc[36],
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
_rainbow_data = {
|
|
186
|
+
'red': gfunc[33],
|
|
187
|
+
'green': gfunc[13],
|
|
188
|
+
'blue': gfunc[10],
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
_seismic_data = (
|
|
192
|
+
(0.0, 0.0, 0.3), (0.0, 0.0, 1.0),
|
|
193
|
+
(1.0, 1.0, 1.0), (1.0, 0.0, 0.0),
|
|
194
|
+
(0.5, 0.0, 0.0))
|
|
195
|
+
|
|
196
|
+
_terrain_data = (
|
|
197
|
+
(0.00, (0.2, 0.2, 0.6)),
|
|
198
|
+
(0.15, (0.0, 0.6, 1.0)),
|
|
199
|
+
(0.25, (0.0, 0.8, 0.4)),
|
|
200
|
+
(0.50, (1.0, 1.0, 0.6)),
|
|
201
|
+
(0.75, (0.5, 0.36, 0.33)),
|
|
202
|
+
(1.00, (1.0, 1.0, 1.0)))
|
|
203
|
+
|
|
204
|
+
_gray_data = {'red': ((0., 0, 0), (1., 1, 1)),
|
|
205
|
+
'green': ((0., 0, 0), (1., 1, 1)),
|
|
206
|
+
'blue': ((0., 0, 0), (1., 1, 1))}
|
|
207
|
+
|
|
208
|
+
_hot_data = {'red': ((0., 0.0416, 0.0416),
|
|
209
|
+
(0.365079, 1.000000, 1.000000),
|
|
210
|
+
(1.0, 1.0, 1.0)),
|
|
211
|
+
'green': ((0., 0., 0.),
|
|
212
|
+
(0.365079, 0.000000, 0.000000),
|
|
213
|
+
(0.746032, 1.000000, 1.000000),
|
|
214
|
+
(1.0, 1.0, 1.0)),
|
|
215
|
+
'blue': ((0., 0., 0.),
|
|
216
|
+
(0.746032, 0.000000, 0.000000),
|
|
217
|
+
(1.0, 1.0, 1.0))}
|
|
218
|
+
|
|
219
|
+
_hsv_data = {'red': ((0., 1., 1.),
|
|
220
|
+
(0.158730, 1.000000, 1.000000),
|
|
221
|
+
(0.174603, 0.968750, 0.968750),
|
|
222
|
+
(0.333333, 0.031250, 0.031250),
|
|
223
|
+
(0.349206, 0.000000, 0.000000),
|
|
224
|
+
(0.666667, 0.000000, 0.000000),
|
|
225
|
+
(0.682540, 0.031250, 0.031250),
|
|
226
|
+
(0.841270, 0.968750, 0.968750),
|
|
227
|
+
(0.857143, 1.000000, 1.000000),
|
|
228
|
+
(1.0, 1.0, 1.0)),
|
|
229
|
+
'green': ((0., 0., 0.),
|
|
230
|
+
(0.158730, 0.937500, 0.937500),
|
|
231
|
+
(0.174603, 1.000000, 1.000000),
|
|
232
|
+
(0.507937, 1.000000, 1.000000),
|
|
233
|
+
(0.666667, 0.062500, 0.062500),
|
|
234
|
+
(0.682540, 0.000000, 0.000000),
|
|
235
|
+
(1.0, 0., 0.)),
|
|
236
|
+
'blue': ((0., 0., 0.),
|
|
237
|
+
(0.333333, 0.000000, 0.000000),
|
|
238
|
+
(0.349206, 0.062500, 0.062500),
|
|
239
|
+
(0.507937, 1.000000, 1.000000),
|
|
240
|
+
(0.841270, 1.000000, 1.000000),
|
|
241
|
+
(0.857143, 0.937500, 0.937500),
|
|
242
|
+
(1.0, 0.09375, 0.09375))}
|
|
243
|
+
|
|
244
|
+
_jet_data = {'red': ((0.00, 0, 0),
|
|
245
|
+
(0.35, 0, 0),
|
|
246
|
+
(0.66, 1, 1),
|
|
247
|
+
(0.89, 1, 1),
|
|
248
|
+
(1.00, 0.5, 0.5)),
|
|
249
|
+
'green': ((0.000, 0, 0),
|
|
250
|
+
(0.125, 0, 0),
|
|
251
|
+
(0.375, 1, 1),
|
|
252
|
+
(0.640, 1, 1),
|
|
253
|
+
(0.910, 0, 0),
|
|
254
|
+
(1.000, 0, 0)),
|
|
255
|
+
'blue': ((0.00, 0.5, 0.5),
|
|
256
|
+
(0.11, 1, 1),
|
|
257
|
+
(0.34, 1, 1),
|
|
258
|
+
(0.65, 0, 0),
|
|
259
|
+
(1.00, 0, 0))}
|
|
260
|
+
|
|
261
|
+
_pink_data = {'red': ((0., 0.1178, 0.1178), (0.015873, 0.195857, 0.195857),
|
|
262
|
+
(0.031746, 0.250661, 0.250661),
|
|
263
|
+
(0.047619, 0.295468, 0.295468),
|
|
264
|
+
(0.063492, 0.334324, 0.334324),
|
|
265
|
+
(0.079365, 0.369112, 0.369112),
|
|
266
|
+
(0.095238, 0.400892, 0.400892),
|
|
267
|
+
(0.111111, 0.430331, 0.430331),
|
|
268
|
+
(0.126984, 0.457882, 0.457882),
|
|
269
|
+
(0.142857, 0.483867, 0.483867),
|
|
270
|
+
(0.158730, 0.508525, 0.508525),
|
|
271
|
+
(0.174603, 0.532042, 0.532042),
|
|
272
|
+
(0.190476, 0.554563, 0.554563),
|
|
273
|
+
(0.206349, 0.576204, 0.576204),
|
|
274
|
+
(0.222222, 0.597061, 0.597061),
|
|
275
|
+
(0.238095, 0.617213, 0.617213),
|
|
276
|
+
(0.253968, 0.636729, 0.636729),
|
|
277
|
+
(0.269841, 0.655663, 0.655663),
|
|
278
|
+
(0.285714, 0.674066, 0.674066),
|
|
279
|
+
(0.301587, 0.691980, 0.691980),
|
|
280
|
+
(0.317460, 0.709441, 0.709441),
|
|
281
|
+
(0.333333, 0.726483, 0.726483),
|
|
282
|
+
(0.349206, 0.743134, 0.743134),
|
|
283
|
+
(0.365079, 0.759421, 0.759421),
|
|
284
|
+
(0.380952, 0.766356, 0.766356),
|
|
285
|
+
(0.396825, 0.773229, 0.773229),
|
|
286
|
+
(0.412698, 0.780042, 0.780042),
|
|
287
|
+
(0.428571, 0.786796, 0.786796),
|
|
288
|
+
(0.444444, 0.793492, 0.793492),
|
|
289
|
+
(0.460317, 0.800132, 0.800132),
|
|
290
|
+
(0.476190, 0.806718, 0.806718),
|
|
291
|
+
(0.492063, 0.813250, 0.813250),
|
|
292
|
+
(0.507937, 0.819730, 0.819730),
|
|
293
|
+
(0.523810, 0.826160, 0.826160),
|
|
294
|
+
(0.539683, 0.832539, 0.832539),
|
|
295
|
+
(0.555556, 0.838870, 0.838870),
|
|
296
|
+
(0.571429, 0.845154, 0.845154),
|
|
297
|
+
(0.587302, 0.851392, 0.851392),
|
|
298
|
+
(0.603175, 0.857584, 0.857584),
|
|
299
|
+
(0.619048, 0.863731, 0.863731),
|
|
300
|
+
(0.634921, 0.869835, 0.869835),
|
|
301
|
+
(0.650794, 0.875897, 0.875897),
|
|
302
|
+
(0.666667, 0.881917, 0.881917),
|
|
303
|
+
(0.682540, 0.887896, 0.887896),
|
|
304
|
+
(0.698413, 0.893835, 0.893835),
|
|
305
|
+
(0.714286, 0.899735, 0.899735),
|
|
306
|
+
(0.730159, 0.905597, 0.905597),
|
|
307
|
+
(0.746032, 0.911421, 0.911421),
|
|
308
|
+
(0.761905, 0.917208, 0.917208),
|
|
309
|
+
(0.777778, 0.922958, 0.922958),
|
|
310
|
+
(0.793651, 0.928673, 0.928673),
|
|
311
|
+
(0.809524, 0.934353, 0.934353),
|
|
312
|
+
(0.825397, 0.939999, 0.939999),
|
|
313
|
+
(0.841270, 0.945611, 0.945611),
|
|
314
|
+
(0.857143, 0.951190, 0.951190),
|
|
315
|
+
(0.873016, 0.956736, 0.956736),
|
|
316
|
+
(0.888889, 0.962250, 0.962250),
|
|
317
|
+
(0.904762, 0.967733, 0.967733),
|
|
318
|
+
(0.920635, 0.973185, 0.973185),
|
|
319
|
+
(0.936508, 0.978607, 0.978607),
|
|
320
|
+
(0.952381, 0.983999, 0.983999),
|
|
321
|
+
(0.968254, 0.989361, 0.989361),
|
|
322
|
+
(0.984127, 0.994695, 0.994695), (1.0, 1.0, 1.0)),
|
|
323
|
+
'green': ((0., 0., 0.), (0.015873, 0.102869, 0.102869),
|
|
324
|
+
(0.031746, 0.145479, 0.145479),
|
|
325
|
+
(0.047619, 0.178174, 0.178174),
|
|
326
|
+
(0.063492, 0.205738, 0.205738),
|
|
327
|
+
(0.079365, 0.230022, 0.230022),
|
|
328
|
+
(0.095238, 0.251976, 0.251976),
|
|
329
|
+
(0.111111, 0.272166, 0.272166),
|
|
330
|
+
(0.126984, 0.290957, 0.290957),
|
|
331
|
+
(0.142857, 0.308607, 0.308607),
|
|
332
|
+
(0.158730, 0.325300, 0.325300),
|
|
333
|
+
(0.174603, 0.341178, 0.341178),
|
|
334
|
+
(0.190476, 0.356348, 0.356348),
|
|
335
|
+
(0.206349, 0.370899, 0.370899),
|
|
336
|
+
(0.222222, 0.384900, 0.384900),
|
|
337
|
+
(0.238095, 0.398410, 0.398410),
|
|
338
|
+
(0.253968, 0.411476, 0.411476),
|
|
339
|
+
(0.269841, 0.424139, 0.424139),
|
|
340
|
+
(0.285714, 0.436436, 0.436436),
|
|
341
|
+
(0.301587, 0.448395, 0.448395),
|
|
342
|
+
(0.317460, 0.460044, 0.460044),
|
|
343
|
+
(0.333333, 0.471405, 0.471405),
|
|
344
|
+
(0.349206, 0.482498, 0.482498),
|
|
345
|
+
(0.365079, 0.493342, 0.493342),
|
|
346
|
+
(0.380952, 0.517549, 0.517549),
|
|
347
|
+
(0.396825, 0.540674, 0.540674),
|
|
348
|
+
(0.412698, 0.562849, 0.562849),
|
|
349
|
+
(0.428571, 0.584183, 0.584183),
|
|
350
|
+
(0.444444, 0.604765, 0.604765),
|
|
351
|
+
(0.460317, 0.624669, 0.624669),
|
|
352
|
+
(0.476190, 0.643958, 0.643958),
|
|
353
|
+
(0.492063, 0.662687, 0.662687),
|
|
354
|
+
(0.507937, 0.680900, 0.680900),
|
|
355
|
+
(0.523810, 0.698638, 0.698638),
|
|
356
|
+
(0.539683, 0.715937, 0.715937),
|
|
357
|
+
(0.555556, 0.732828, 0.732828),
|
|
358
|
+
(0.571429, 0.749338, 0.749338),
|
|
359
|
+
(0.587302, 0.765493, 0.765493),
|
|
360
|
+
(0.603175, 0.781313, 0.781313),
|
|
361
|
+
(0.619048, 0.796819, 0.796819),
|
|
362
|
+
(0.634921, 0.812029, 0.812029),
|
|
363
|
+
(0.650794, 0.826960, 0.826960),
|
|
364
|
+
(0.666667, 0.841625, 0.841625),
|
|
365
|
+
(0.682540, 0.856040, 0.856040),
|
|
366
|
+
(0.698413, 0.870216, 0.870216),
|
|
367
|
+
(0.714286, 0.884164, 0.884164),
|
|
368
|
+
(0.730159, 0.897896, 0.897896),
|
|
369
|
+
(0.746032, 0.911421, 0.911421),
|
|
370
|
+
(0.761905, 0.917208, 0.917208),
|
|
371
|
+
(0.777778, 0.922958, 0.922958),
|
|
372
|
+
(0.793651, 0.928673, 0.928673),
|
|
373
|
+
(0.809524, 0.934353, 0.934353),
|
|
374
|
+
(0.825397, 0.939999, 0.939999),
|
|
375
|
+
(0.841270, 0.945611, 0.945611),
|
|
376
|
+
(0.857143, 0.951190, 0.951190),
|
|
377
|
+
(0.873016, 0.956736, 0.956736),
|
|
378
|
+
(0.888889, 0.962250, 0.962250),
|
|
379
|
+
(0.904762, 0.967733, 0.967733),
|
|
380
|
+
(0.920635, 0.973185, 0.973185),
|
|
381
|
+
(0.936508, 0.978607, 0.978607),
|
|
382
|
+
(0.952381, 0.983999, 0.983999),
|
|
383
|
+
(0.968254, 0.989361, 0.989361),
|
|
384
|
+
(0.984127, 0.994695, 0.994695), (1.0, 1.0, 1.0)),
|
|
385
|
+
'blue': ((0., 0., 0.), (0.015873, 0.102869, 0.102869),
|
|
386
|
+
(0.031746, 0.145479, 0.145479),
|
|
387
|
+
(0.047619, 0.178174, 0.178174),
|
|
388
|
+
(0.063492, 0.205738, 0.205738),
|
|
389
|
+
(0.079365, 0.230022, 0.230022),
|
|
390
|
+
(0.095238, 0.251976, 0.251976),
|
|
391
|
+
(0.111111, 0.272166, 0.272166),
|
|
392
|
+
(0.126984, 0.290957, 0.290957),
|
|
393
|
+
(0.142857, 0.308607, 0.308607),
|
|
394
|
+
(0.158730, 0.325300, 0.325300),
|
|
395
|
+
(0.174603, 0.341178, 0.341178),
|
|
396
|
+
(0.190476, 0.356348, 0.356348),
|
|
397
|
+
(0.206349, 0.370899, 0.370899),
|
|
398
|
+
(0.222222, 0.384900, 0.384900),
|
|
399
|
+
(0.238095, 0.398410, 0.398410),
|
|
400
|
+
(0.253968, 0.411476, 0.411476),
|
|
401
|
+
(0.269841, 0.424139, 0.424139),
|
|
402
|
+
(0.285714, 0.436436, 0.436436),
|
|
403
|
+
(0.301587, 0.448395, 0.448395),
|
|
404
|
+
(0.317460, 0.460044, 0.460044),
|
|
405
|
+
(0.333333, 0.471405, 0.471405),
|
|
406
|
+
(0.349206, 0.482498, 0.482498),
|
|
407
|
+
(0.365079, 0.493342, 0.493342),
|
|
408
|
+
(0.380952, 0.503953, 0.503953),
|
|
409
|
+
(0.396825, 0.514344, 0.514344),
|
|
410
|
+
(0.412698, 0.524531, 0.524531),
|
|
411
|
+
(0.428571, 0.534522, 0.534522),
|
|
412
|
+
(0.444444, 0.544331, 0.544331),
|
|
413
|
+
(0.460317, 0.553966, 0.553966),
|
|
414
|
+
(0.476190, 0.563436, 0.563436),
|
|
415
|
+
(0.492063, 0.572750, 0.572750),
|
|
416
|
+
(0.507937, 0.581914, 0.581914),
|
|
417
|
+
(0.523810, 0.590937, 0.590937),
|
|
418
|
+
(0.539683, 0.599824, 0.599824),
|
|
419
|
+
(0.555556, 0.608581, 0.608581),
|
|
420
|
+
(0.571429, 0.617213, 0.617213),
|
|
421
|
+
(0.587302, 0.625727, 0.625727),
|
|
422
|
+
(0.603175, 0.634126, 0.634126),
|
|
423
|
+
(0.619048, 0.642416, 0.642416),
|
|
424
|
+
(0.634921, 0.650600, 0.650600),
|
|
425
|
+
(0.650794, 0.658682, 0.658682),
|
|
426
|
+
(0.666667, 0.666667, 0.666667),
|
|
427
|
+
(0.682540, 0.674556, 0.674556),
|
|
428
|
+
(0.698413, 0.682355, 0.682355),
|
|
429
|
+
(0.714286, 0.690066, 0.690066),
|
|
430
|
+
(0.730159, 0.697691, 0.697691),
|
|
431
|
+
(0.746032, 0.705234, 0.705234),
|
|
432
|
+
(0.761905, 0.727166, 0.727166),
|
|
433
|
+
(0.777778, 0.748455, 0.748455),
|
|
434
|
+
(0.793651, 0.769156, 0.769156),
|
|
435
|
+
(0.809524, 0.789314, 0.789314),
|
|
436
|
+
(0.825397, 0.808969, 0.808969),
|
|
437
|
+
(0.841270, 0.828159, 0.828159),
|
|
438
|
+
(0.857143, 0.846913, 0.846913),
|
|
439
|
+
(0.873016, 0.865261, 0.865261),
|
|
440
|
+
(0.888889, 0.883229, 0.883229),
|
|
441
|
+
(0.904762, 0.900837, 0.900837),
|
|
442
|
+
(0.920635, 0.918109, 0.918109),
|
|
443
|
+
(0.936508, 0.935061, 0.935061),
|
|
444
|
+
(0.952381, 0.951711, 0.951711),
|
|
445
|
+
(0.968254, 0.968075, 0.968075),
|
|
446
|
+
(0.984127, 0.984167, 0.984167), (1.0, 1.0, 1.0))}
|
|
447
|
+
|
|
448
|
+
_spring_data = {'red': ((0., 1., 1.), (1.0, 1.0, 1.0)),
|
|
449
|
+
'green': ((0., 0., 0.), (1.0, 1.0, 1.0)),
|
|
450
|
+
'blue': ((0., 1., 1.), (1.0, 0.0, 0.0))}
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
_summer_data = {'red': ((0., 0., 0.), (1.0, 1.0, 1.0)),
|
|
454
|
+
'green': ((0., 0.5, 0.5), (1.0, 1.0, 1.0)),
|
|
455
|
+
'blue': ((0., 0.4, 0.4), (1.0, 0.4, 0.4))}
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
_winter_data = {'red': ((0., 0., 0.), (1.0, 0.0, 0.0)),
|
|
459
|
+
'green': ((0., 0., 0.), (1.0, 1.0, 1.0)),
|
|
460
|
+
'blue': ((0., 1., 1.), (1.0, 0.5, 0.5))}
|
|
461
|
+
|
|
462
|
+
_nipy_spectral_data = {
|
|
463
|
+
'red': [
|
|
464
|
+
(0.0, 0.0, 0.0), (0.05, 0.4667, 0.4667),
|
|
465
|
+
(0.10, 0.5333, 0.5333), (0.15, 0.0, 0.0),
|
|
466
|
+
(0.20, 0.0, 0.0), (0.25, 0.0, 0.0),
|
|
467
|
+
(0.30, 0.0, 0.0), (0.35, 0.0, 0.0),
|
|
468
|
+
(0.40, 0.0, 0.0), (0.45, 0.0, 0.0),
|
|
469
|
+
(0.50, 0.0, 0.0), (0.55, 0.0, 0.0),
|
|
470
|
+
(0.60, 0.0, 0.0), (0.65, 0.7333, 0.7333),
|
|
471
|
+
(0.70, 0.9333, 0.9333), (0.75, 1.0, 1.0),
|
|
472
|
+
(0.80, 1.0, 1.0), (0.85, 1.0, 1.0),
|
|
473
|
+
(0.90, 0.8667, 0.8667), (0.95, 0.80, 0.80),
|
|
474
|
+
(1.0, 0.80, 0.80),
|
|
475
|
+
],
|
|
476
|
+
'green': [
|
|
477
|
+
(0.0, 0.0, 0.0), (0.05, 0.0, 0.0),
|
|
478
|
+
(0.10, 0.0, 0.0), (0.15, 0.0, 0.0),
|
|
479
|
+
(0.20, 0.0, 0.0), (0.25, 0.4667, 0.4667),
|
|
480
|
+
(0.30, 0.6000, 0.6000), (0.35, 0.6667, 0.6667),
|
|
481
|
+
(0.40, 0.6667, 0.6667), (0.45, 0.6000, 0.6000),
|
|
482
|
+
(0.50, 0.7333, 0.7333), (0.55, 0.8667, 0.8667),
|
|
483
|
+
(0.60, 1.0, 1.0), (0.65, 1.0, 1.0),
|
|
484
|
+
(0.70, 0.9333, 0.9333), (0.75, 0.8000, 0.8000),
|
|
485
|
+
(0.80, 0.6000, 0.6000), (0.85, 0.0, 0.0),
|
|
486
|
+
(0.90, 0.0, 0.0), (0.95, 0.0, 0.0),
|
|
487
|
+
(1.0, 0.80, 0.80),
|
|
488
|
+
],
|
|
489
|
+
'blue': [
|
|
490
|
+
(0.0, 0.0, 0.0), (0.05, 0.5333, 0.5333),
|
|
491
|
+
(0.10, 0.6000, 0.6000), (0.15, 0.6667, 0.6667),
|
|
492
|
+
(0.20, 0.8667, 0.8667), (0.25, 0.8667, 0.8667),
|
|
493
|
+
(0.30, 0.8667, 0.8667), (0.35, 0.6667, 0.6667),
|
|
494
|
+
(0.40, 0.5333, 0.5333), (0.45, 0.0, 0.0),
|
|
495
|
+
(0.5, 0.0, 0.0), (0.55, 0.0, 0.0),
|
|
496
|
+
(0.60, 0.0, 0.0), (0.65, 0.0, 0.0),
|
|
497
|
+
(0.70, 0.0, 0.0), (0.75, 0.0, 0.0),
|
|
498
|
+
(0.80, 0.0, 0.0), (0.85, 0.0, 0.0),
|
|
499
|
+
(0.90, 0.0, 0.0), (0.95, 0.0, 0.0),
|
|
500
|
+
(1.0, 0.80, 0.80),
|
|
501
|
+
],
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
# 34 colormaps based on color specifications and designs
|
|
506
|
+
# developed by Cynthia Brewer (https://colorbrewer2.org/).
|
|
507
|
+
# The ColorBrewer palettes have been included under the terms
|
|
508
|
+
# of an Apache-stype license (for details, see the file
|
|
509
|
+
# LICENSE_COLORBREWER in the license directory of the matplotlib
|
|
510
|
+
# source distribution).
|
|
511
|
+
|
|
512
|
+
# RGB values taken from Brewer's Excel sheet, divided by 255
|
|
513
|
+
|
|
514
|
+
_Blues_data = (
|
|
515
|
+
(0.96862745098039216, 0.98431372549019602, 1.0 ),
|
|
516
|
+
(0.87058823529411766, 0.92156862745098034, 0.96862745098039216),
|
|
517
|
+
(0.77647058823529413, 0.85882352941176465, 0.93725490196078431),
|
|
518
|
+
(0.61960784313725492, 0.792156862745098 , 0.88235294117647056),
|
|
519
|
+
(0.41960784313725491, 0.68235294117647061, 0.83921568627450982),
|
|
520
|
+
(0.25882352941176473, 0.5725490196078431 , 0.77647058823529413),
|
|
521
|
+
(0.12941176470588237, 0.44313725490196076, 0.70980392156862748),
|
|
522
|
+
(0.03137254901960784, 0.31764705882352939, 0.61176470588235299),
|
|
523
|
+
(0.03137254901960784, 0.18823529411764706, 0.41960784313725491)
|
|
524
|
+
)
|
|
525
|
+
|
|
526
|
+
_BrBG_data = (
|
|
527
|
+
(0.32941176470588235, 0.18823529411764706, 0.0196078431372549 ),
|
|
528
|
+
(0.5490196078431373 , 0.31764705882352939, 0.0392156862745098 ),
|
|
529
|
+
(0.74901960784313726, 0.50588235294117645, 0.17647058823529413),
|
|
530
|
+
(0.87450980392156863, 0.76078431372549016, 0.49019607843137253),
|
|
531
|
+
(0.96470588235294119, 0.90980392156862744, 0.76470588235294112),
|
|
532
|
+
(0.96078431372549022, 0.96078431372549022, 0.96078431372549022),
|
|
533
|
+
(0.7803921568627451 , 0.91764705882352937, 0.89803921568627454),
|
|
534
|
+
(0.50196078431372548, 0.80392156862745101, 0.75686274509803919),
|
|
535
|
+
(0.20784313725490197, 0.59215686274509804, 0.5607843137254902 ),
|
|
536
|
+
(0.00392156862745098, 0.4 , 0.36862745098039218),
|
|
537
|
+
(0.0 , 0.23529411764705882, 0.18823529411764706)
|
|
538
|
+
)
|
|
539
|
+
|
|
540
|
+
_BuGn_data = (
|
|
541
|
+
(0.96862745098039216, 0.9882352941176471 , 0.99215686274509807),
|
|
542
|
+
(0.89803921568627454, 0.96078431372549022, 0.97647058823529409),
|
|
543
|
+
(0.8 , 0.92549019607843142, 0.90196078431372551),
|
|
544
|
+
(0.6 , 0.84705882352941175, 0.78823529411764703),
|
|
545
|
+
(0.4 , 0.76078431372549016, 0.64313725490196083),
|
|
546
|
+
(0.25490196078431371, 0.68235294117647061, 0.46274509803921571),
|
|
547
|
+
(0.13725490196078433, 0.54509803921568623, 0.27058823529411763),
|
|
548
|
+
(0.0 , 0.42745098039215684, 0.17254901960784313),
|
|
549
|
+
(0.0 , 0.26666666666666666, 0.10588235294117647)
|
|
550
|
+
)
|
|
551
|
+
|
|
552
|
+
_BuPu_data = (
|
|
553
|
+
(0.96862745098039216, 0.9882352941176471 , 0.99215686274509807),
|
|
554
|
+
(0.8784313725490196 , 0.92549019607843142, 0.95686274509803926),
|
|
555
|
+
(0.74901960784313726, 0.82745098039215681, 0.90196078431372551),
|
|
556
|
+
(0.61960784313725492, 0.73725490196078436, 0.85490196078431369),
|
|
557
|
+
(0.5490196078431373 , 0.58823529411764708, 0.77647058823529413),
|
|
558
|
+
(0.5490196078431373 , 0.41960784313725491, 0.69411764705882351),
|
|
559
|
+
(0.53333333333333333, 0.25490196078431371, 0.61568627450980395),
|
|
560
|
+
(0.50588235294117645, 0.05882352941176471, 0.48627450980392156),
|
|
561
|
+
(0.30196078431372547, 0.0 , 0.29411764705882354)
|
|
562
|
+
)
|
|
563
|
+
|
|
564
|
+
_GnBu_data = (
|
|
565
|
+
(0.96862745098039216, 0.9882352941176471 , 0.94117647058823528),
|
|
566
|
+
(0.8784313725490196 , 0.95294117647058818, 0.85882352941176465),
|
|
567
|
+
(0.8 , 0.92156862745098034, 0.77254901960784317),
|
|
568
|
+
(0.6588235294117647 , 0.8666666666666667 , 0.70980392156862748),
|
|
569
|
+
(0.4823529411764706 , 0.8 , 0.7686274509803922 ),
|
|
570
|
+
(0.30588235294117649, 0.70196078431372544, 0.82745098039215681),
|
|
571
|
+
(0.16862745098039217, 0.5490196078431373 , 0.74509803921568629),
|
|
572
|
+
(0.03137254901960784, 0.40784313725490196, 0.67450980392156867),
|
|
573
|
+
(0.03137254901960784, 0.25098039215686274, 0.50588235294117645)
|
|
574
|
+
)
|
|
575
|
+
|
|
576
|
+
_Greens_data = (
|
|
577
|
+
(0.96862745098039216, 0.9882352941176471 , 0.96078431372549022),
|
|
578
|
+
(0.89803921568627454, 0.96078431372549022, 0.8784313725490196 ),
|
|
579
|
+
(0.7803921568627451 , 0.9137254901960784 , 0.75294117647058822),
|
|
580
|
+
(0.63137254901960782, 0.85098039215686272, 0.60784313725490191),
|
|
581
|
+
(0.45490196078431372, 0.7686274509803922 , 0.46274509803921571),
|
|
582
|
+
(0.25490196078431371, 0.6705882352941176 , 0.36470588235294116),
|
|
583
|
+
(0.13725490196078433, 0.54509803921568623, 0.27058823529411763),
|
|
584
|
+
(0.0 , 0.42745098039215684, 0.17254901960784313),
|
|
585
|
+
(0.0 , 0.26666666666666666, 0.10588235294117647)
|
|
586
|
+
)
|
|
587
|
+
|
|
588
|
+
_Greys_data = (
|
|
589
|
+
(1.0 , 1.0 , 1.0 ),
|
|
590
|
+
(0.94117647058823528, 0.94117647058823528, 0.94117647058823528),
|
|
591
|
+
(0.85098039215686272, 0.85098039215686272, 0.85098039215686272),
|
|
592
|
+
(0.74117647058823533, 0.74117647058823533, 0.74117647058823533),
|
|
593
|
+
(0.58823529411764708, 0.58823529411764708, 0.58823529411764708),
|
|
594
|
+
(0.45098039215686275, 0.45098039215686275, 0.45098039215686275),
|
|
595
|
+
(0.32156862745098042, 0.32156862745098042, 0.32156862745098042),
|
|
596
|
+
(0.14509803921568629, 0.14509803921568629, 0.14509803921568629),
|
|
597
|
+
(0.0 , 0.0 , 0.0 )
|
|
598
|
+
)
|
|
599
|
+
|
|
600
|
+
_Oranges_data = (
|
|
601
|
+
(1.0 , 0.96078431372549022, 0.92156862745098034),
|
|
602
|
+
(0.99607843137254903, 0.90196078431372551, 0.80784313725490198),
|
|
603
|
+
(0.99215686274509807, 0.81568627450980391, 0.63529411764705879),
|
|
604
|
+
(0.99215686274509807, 0.68235294117647061, 0.41960784313725491),
|
|
605
|
+
(0.99215686274509807, 0.55294117647058827, 0.23529411764705882),
|
|
606
|
+
(0.94509803921568625, 0.41176470588235292, 0.07450980392156863),
|
|
607
|
+
(0.85098039215686272, 0.28235294117647058, 0.00392156862745098),
|
|
608
|
+
(0.65098039215686276, 0.21176470588235294, 0.01176470588235294),
|
|
609
|
+
(0.49803921568627452, 0.15294117647058825, 0.01568627450980392)
|
|
610
|
+
)
|
|
611
|
+
|
|
612
|
+
_OrRd_data = (
|
|
613
|
+
(1.0 , 0.96862745098039216, 0.92549019607843142),
|
|
614
|
+
(0.99607843137254903, 0.90980392156862744, 0.78431372549019607),
|
|
615
|
+
(0.99215686274509807, 0.83137254901960789, 0.61960784313725492),
|
|
616
|
+
(0.99215686274509807, 0.73333333333333328, 0.51764705882352946),
|
|
617
|
+
(0.9882352941176471 , 0.55294117647058827, 0.34901960784313724),
|
|
618
|
+
(0.93725490196078431, 0.396078431372549 , 0.28235294117647058),
|
|
619
|
+
(0.84313725490196079, 0.18823529411764706, 0.12156862745098039),
|
|
620
|
+
(0.70196078431372544, 0.0 , 0.0 ),
|
|
621
|
+
(0.49803921568627452, 0.0 , 0.0 )
|
|
622
|
+
)
|
|
623
|
+
|
|
624
|
+
_PiYG_data = (
|
|
625
|
+
(0.55686274509803924, 0.00392156862745098, 0.32156862745098042),
|
|
626
|
+
(0.77254901960784317, 0.10588235294117647, 0.49019607843137253),
|
|
627
|
+
(0.87058823529411766, 0.46666666666666667, 0.68235294117647061),
|
|
628
|
+
(0.94509803921568625, 0.71372549019607845, 0.85490196078431369),
|
|
629
|
+
(0.99215686274509807, 0.8784313725490196 , 0.93725490196078431),
|
|
630
|
+
(0.96862745098039216, 0.96862745098039216, 0.96862745098039216),
|
|
631
|
+
(0.90196078431372551, 0.96078431372549022, 0.81568627450980391),
|
|
632
|
+
(0.72156862745098038, 0.88235294117647056, 0.52549019607843139),
|
|
633
|
+
(0.49803921568627452, 0.73725490196078436, 0.25490196078431371),
|
|
634
|
+
(0.30196078431372547, 0.5725490196078431 , 0.12941176470588237),
|
|
635
|
+
(0.15294117647058825, 0.39215686274509803, 0.09803921568627451)
|
|
636
|
+
)
|
|
637
|
+
|
|
638
|
+
_PRGn_data = (
|
|
639
|
+
(0.25098039215686274, 0.0 , 0.29411764705882354),
|
|
640
|
+
(0.46274509803921571, 0.16470588235294117, 0.51372549019607838),
|
|
641
|
+
(0.6 , 0.4392156862745098 , 0.6705882352941176 ),
|
|
642
|
+
(0.76078431372549016, 0.6470588235294118 , 0.81176470588235294),
|
|
643
|
+
(0.90588235294117647, 0.83137254901960789, 0.90980392156862744),
|
|
644
|
+
(0.96862745098039216, 0.96862745098039216, 0.96862745098039216),
|
|
645
|
+
(0.85098039215686272, 0.94117647058823528, 0.82745098039215681),
|
|
646
|
+
(0.65098039215686276, 0.85882352941176465, 0.62745098039215685),
|
|
647
|
+
(0.35294117647058826, 0.68235294117647061, 0.38039215686274508),
|
|
648
|
+
(0.10588235294117647, 0.47058823529411764, 0.21568627450980393),
|
|
649
|
+
(0.0 , 0.26666666666666666, 0.10588235294117647)
|
|
650
|
+
)
|
|
651
|
+
|
|
652
|
+
_PuBu_data = (
|
|
653
|
+
(1.0 , 0.96862745098039216, 0.98431372549019602),
|
|
654
|
+
(0.92549019607843142, 0.90588235294117647, 0.94901960784313721),
|
|
655
|
+
(0.81568627450980391, 0.81960784313725488, 0.90196078431372551),
|
|
656
|
+
(0.65098039215686276, 0.74117647058823533, 0.85882352941176465),
|
|
657
|
+
(0.45490196078431372, 0.66274509803921566, 0.81176470588235294),
|
|
658
|
+
(0.21176470588235294, 0.56470588235294117, 0.75294117647058822),
|
|
659
|
+
(0.0196078431372549 , 0.4392156862745098 , 0.69019607843137254),
|
|
660
|
+
(0.01568627450980392, 0.35294117647058826, 0.55294117647058827),
|
|
661
|
+
(0.00784313725490196, 0.2196078431372549 , 0.34509803921568627)
|
|
662
|
+
)
|
|
663
|
+
|
|
664
|
+
_PuBuGn_data = (
|
|
665
|
+
(1.0 , 0.96862745098039216, 0.98431372549019602),
|
|
666
|
+
(0.92549019607843142, 0.88627450980392153, 0.94117647058823528),
|
|
667
|
+
(0.81568627450980391, 0.81960784313725488, 0.90196078431372551),
|
|
668
|
+
(0.65098039215686276, 0.74117647058823533, 0.85882352941176465),
|
|
669
|
+
(0.40392156862745099, 0.66274509803921566, 0.81176470588235294),
|
|
670
|
+
(0.21176470588235294, 0.56470588235294117, 0.75294117647058822),
|
|
671
|
+
(0.00784313725490196, 0.50588235294117645, 0.54117647058823526),
|
|
672
|
+
(0.00392156862745098, 0.42352941176470588, 0.34901960784313724),
|
|
673
|
+
(0.00392156862745098, 0.27450980392156865, 0.21176470588235294)
|
|
674
|
+
)
|
|
675
|
+
|
|
676
|
+
_PuOr_data = (
|
|
677
|
+
(0.49803921568627452, 0.23137254901960785, 0.03137254901960784),
|
|
678
|
+
(0.70196078431372544, 0.34509803921568627, 0.02352941176470588),
|
|
679
|
+
(0.8784313725490196 , 0.50980392156862742, 0.07843137254901961),
|
|
680
|
+
(0.99215686274509807, 0.72156862745098038, 0.38823529411764707),
|
|
681
|
+
(0.99607843137254903, 0.8784313725490196 , 0.71372549019607845),
|
|
682
|
+
(0.96862745098039216, 0.96862745098039216, 0.96862745098039216),
|
|
683
|
+
(0.84705882352941175, 0.85490196078431369, 0.92156862745098034),
|
|
684
|
+
(0.69803921568627447, 0.6705882352941176 , 0.82352941176470584),
|
|
685
|
+
(0.50196078431372548, 0.45098039215686275, 0.67450980392156867),
|
|
686
|
+
(0.32941176470588235, 0.15294117647058825, 0.53333333333333333),
|
|
687
|
+
(0.17647058823529413, 0.0 , 0.29411764705882354)
|
|
688
|
+
)
|
|
689
|
+
|
|
690
|
+
_PuRd_data = (
|
|
691
|
+
(0.96862745098039216, 0.95686274509803926, 0.97647058823529409),
|
|
692
|
+
(0.90588235294117647, 0.88235294117647056, 0.93725490196078431),
|
|
693
|
+
(0.83137254901960789, 0.72549019607843135, 0.85490196078431369),
|
|
694
|
+
(0.78823529411764703, 0.58039215686274515, 0.7803921568627451 ),
|
|
695
|
+
(0.87450980392156863, 0.396078431372549 , 0.69019607843137254),
|
|
696
|
+
(0.90588235294117647, 0.16078431372549021, 0.54117647058823526),
|
|
697
|
+
(0.80784313725490198, 0.07058823529411765, 0.33725490196078434),
|
|
698
|
+
(0.59607843137254901, 0.0 , 0.2627450980392157 ),
|
|
699
|
+
(0.40392156862745099, 0.0 , 0.12156862745098039)
|
|
700
|
+
)
|
|
701
|
+
|
|
702
|
+
_Purples_data = (
|
|
703
|
+
(0.9882352941176471 , 0.98431372549019602, 0.99215686274509807),
|
|
704
|
+
(0.93725490196078431, 0.92941176470588238, 0.96078431372549022),
|
|
705
|
+
(0.85490196078431369, 0.85490196078431369, 0.92156862745098034),
|
|
706
|
+
(0.73725490196078436, 0.74117647058823533, 0.86274509803921573),
|
|
707
|
+
(0.61960784313725492, 0.60392156862745094, 0.78431372549019607),
|
|
708
|
+
(0.50196078431372548, 0.49019607843137253, 0.72941176470588232),
|
|
709
|
+
(0.41568627450980394, 0.31764705882352939, 0.63921568627450975),
|
|
710
|
+
(0.32941176470588235, 0.15294117647058825, 0.5607843137254902 ),
|
|
711
|
+
(0.24705882352941178, 0.0 , 0.49019607843137253)
|
|
712
|
+
)
|
|
713
|
+
|
|
714
|
+
_RdBu_data = (
|
|
715
|
+
(0.40392156862745099, 0.0 , 0.12156862745098039),
|
|
716
|
+
(0.69803921568627447, 0.09411764705882353, 0.16862745098039217),
|
|
717
|
+
(0.83921568627450982, 0.37647058823529411, 0.30196078431372547),
|
|
718
|
+
(0.95686274509803926, 0.6470588235294118 , 0.50980392156862742),
|
|
719
|
+
(0.99215686274509807, 0.85882352941176465, 0.7803921568627451 ),
|
|
720
|
+
(0.96862745098039216, 0.96862745098039216, 0.96862745098039216),
|
|
721
|
+
(0.81960784313725488, 0.89803921568627454, 0.94117647058823528),
|
|
722
|
+
(0.5725490196078431 , 0.77254901960784317, 0.87058823529411766),
|
|
723
|
+
(0.2627450980392157 , 0.57647058823529407, 0.76470588235294112),
|
|
724
|
+
(0.12941176470588237, 0.4 , 0.67450980392156867),
|
|
725
|
+
(0.0196078431372549 , 0.18823529411764706, 0.38039215686274508)
|
|
726
|
+
)
|
|
727
|
+
|
|
728
|
+
_RdGy_data = (
|
|
729
|
+
(0.40392156862745099, 0.0 , 0.12156862745098039),
|
|
730
|
+
(0.69803921568627447, 0.09411764705882353, 0.16862745098039217),
|
|
731
|
+
(0.83921568627450982, 0.37647058823529411, 0.30196078431372547),
|
|
732
|
+
(0.95686274509803926, 0.6470588235294118 , 0.50980392156862742),
|
|
733
|
+
(0.99215686274509807, 0.85882352941176465, 0.7803921568627451 ),
|
|
734
|
+
(1.0 , 1.0 , 1.0 ),
|
|
735
|
+
(0.8784313725490196 , 0.8784313725490196 , 0.8784313725490196 ),
|
|
736
|
+
(0.72941176470588232, 0.72941176470588232, 0.72941176470588232),
|
|
737
|
+
(0.52941176470588236, 0.52941176470588236, 0.52941176470588236),
|
|
738
|
+
(0.30196078431372547, 0.30196078431372547, 0.30196078431372547),
|
|
739
|
+
(0.10196078431372549, 0.10196078431372549, 0.10196078431372549)
|
|
740
|
+
)
|
|
741
|
+
|
|
742
|
+
_RdPu_data = (
|
|
743
|
+
(1.0 , 0.96862745098039216, 0.95294117647058818),
|
|
744
|
+
(0.99215686274509807, 0.8784313725490196 , 0.86666666666666667),
|
|
745
|
+
(0.9882352941176471 , 0.77254901960784317, 0.75294117647058822),
|
|
746
|
+
(0.98039215686274506, 0.62352941176470589, 0.70980392156862748),
|
|
747
|
+
(0.96862745098039216, 0.40784313725490196, 0.63137254901960782),
|
|
748
|
+
(0.86666666666666667, 0.20392156862745098, 0.59215686274509804),
|
|
749
|
+
(0.68235294117647061, 0.00392156862745098, 0.49411764705882355),
|
|
750
|
+
(0.47843137254901963, 0.00392156862745098, 0.46666666666666667),
|
|
751
|
+
(0.28627450980392155, 0.0 , 0.41568627450980394)
|
|
752
|
+
)
|
|
753
|
+
|
|
754
|
+
_RdYlBu_data = (
|
|
755
|
+
(0.6470588235294118 , 0.0 , 0.14901960784313725),
|
|
756
|
+
(0.84313725490196079, 0.18823529411764706 , 0.15294117647058825),
|
|
757
|
+
(0.95686274509803926, 0.42745098039215684 , 0.2627450980392157 ),
|
|
758
|
+
(0.99215686274509807, 0.68235294117647061 , 0.38039215686274508),
|
|
759
|
+
(0.99607843137254903, 0.8784313725490196 , 0.56470588235294117),
|
|
760
|
+
(1.0 , 1.0 , 0.74901960784313726),
|
|
761
|
+
(0.8784313725490196 , 0.95294117647058818 , 0.97254901960784312),
|
|
762
|
+
(0.6705882352941176 , 0.85098039215686272 , 0.9137254901960784 ),
|
|
763
|
+
(0.45490196078431372, 0.67843137254901964 , 0.81960784313725488),
|
|
764
|
+
(0.27058823529411763, 0.45882352941176469 , 0.70588235294117652),
|
|
765
|
+
(0.19215686274509805, 0.21176470588235294 , 0.58431372549019611)
|
|
766
|
+
)
|
|
767
|
+
|
|
768
|
+
_RdYlGn_data = (
|
|
769
|
+
(0.6470588235294118 , 0.0 , 0.14901960784313725),
|
|
770
|
+
(0.84313725490196079, 0.18823529411764706 , 0.15294117647058825),
|
|
771
|
+
(0.95686274509803926, 0.42745098039215684 , 0.2627450980392157 ),
|
|
772
|
+
(0.99215686274509807, 0.68235294117647061 , 0.38039215686274508),
|
|
773
|
+
(0.99607843137254903, 0.8784313725490196 , 0.54509803921568623),
|
|
774
|
+
(1.0 , 1.0 , 0.74901960784313726),
|
|
775
|
+
(0.85098039215686272, 0.93725490196078431 , 0.54509803921568623),
|
|
776
|
+
(0.65098039215686276, 0.85098039215686272 , 0.41568627450980394),
|
|
777
|
+
(0.4 , 0.74117647058823533 , 0.38823529411764707),
|
|
778
|
+
(0.10196078431372549, 0.59607843137254901 , 0.31372549019607843),
|
|
779
|
+
(0.0 , 0.40784313725490196 , 0.21568627450980393)
|
|
780
|
+
)
|
|
781
|
+
|
|
782
|
+
_Reds_data = (
|
|
783
|
+
(1.0 , 0.96078431372549022 , 0.94117647058823528),
|
|
784
|
+
(0.99607843137254903, 0.8784313725490196 , 0.82352941176470584),
|
|
785
|
+
(0.9882352941176471 , 0.73333333333333328 , 0.63137254901960782),
|
|
786
|
+
(0.9882352941176471 , 0.5725490196078431 , 0.44705882352941179),
|
|
787
|
+
(0.98431372549019602, 0.41568627450980394 , 0.29019607843137257),
|
|
788
|
+
(0.93725490196078431, 0.23137254901960785 , 0.17254901960784313),
|
|
789
|
+
(0.79607843137254897, 0.094117647058823528, 0.11372549019607843),
|
|
790
|
+
(0.6470588235294118 , 0.058823529411764705, 0.08235294117647058),
|
|
791
|
+
(0.40392156862745099, 0.0 , 0.05098039215686274)
|
|
792
|
+
)
|
|
793
|
+
|
|
794
|
+
_Spectral_data = (
|
|
795
|
+
(0.61960784313725492, 0.003921568627450980, 0.25882352941176473),
|
|
796
|
+
(0.83529411764705885, 0.24313725490196078 , 0.30980392156862746),
|
|
797
|
+
(0.95686274509803926, 0.42745098039215684 , 0.2627450980392157 ),
|
|
798
|
+
(0.99215686274509807, 0.68235294117647061 , 0.38039215686274508),
|
|
799
|
+
(0.99607843137254903, 0.8784313725490196 , 0.54509803921568623),
|
|
800
|
+
(1.0 , 1.0 , 0.74901960784313726),
|
|
801
|
+
(0.90196078431372551, 0.96078431372549022 , 0.59607843137254901),
|
|
802
|
+
(0.6705882352941176 , 0.8666666666666667 , 0.64313725490196083),
|
|
803
|
+
(0.4 , 0.76078431372549016 , 0.6470588235294118 ),
|
|
804
|
+
(0.19607843137254902, 0.53333333333333333 , 0.74117647058823533),
|
|
805
|
+
(0.36862745098039218, 0.30980392156862746 , 0.63529411764705879)
|
|
806
|
+
)
|
|
807
|
+
|
|
808
|
+
_YlGn_data = (
|
|
809
|
+
(1.0 , 1.0 , 0.89803921568627454),
|
|
810
|
+
(0.96862745098039216, 0.9882352941176471 , 0.72549019607843135),
|
|
811
|
+
(0.85098039215686272, 0.94117647058823528 , 0.63921568627450975),
|
|
812
|
+
(0.67843137254901964, 0.8666666666666667 , 0.55686274509803924),
|
|
813
|
+
(0.47058823529411764, 0.77647058823529413 , 0.47450980392156861),
|
|
814
|
+
(0.25490196078431371, 0.6705882352941176 , 0.36470588235294116),
|
|
815
|
+
(0.13725490196078433, 0.51764705882352946 , 0.2627450980392157 ),
|
|
816
|
+
(0.0 , 0.40784313725490196 , 0.21568627450980393),
|
|
817
|
+
(0.0 , 0.27058823529411763 , 0.16078431372549021)
|
|
818
|
+
)
|
|
819
|
+
|
|
820
|
+
_YlGnBu_data = (
|
|
821
|
+
(1.0 , 1.0 , 0.85098039215686272),
|
|
822
|
+
(0.92941176470588238, 0.97254901960784312 , 0.69411764705882351),
|
|
823
|
+
(0.7803921568627451 , 0.9137254901960784 , 0.70588235294117652),
|
|
824
|
+
(0.49803921568627452, 0.80392156862745101 , 0.73333333333333328),
|
|
825
|
+
(0.25490196078431371, 0.71372549019607845 , 0.7686274509803922 ),
|
|
826
|
+
(0.11372549019607843, 0.56862745098039214 , 0.75294117647058822),
|
|
827
|
+
(0.13333333333333333, 0.36862745098039218 , 0.6588235294117647 ),
|
|
828
|
+
(0.14509803921568629, 0.20392156862745098 , 0.58039215686274515),
|
|
829
|
+
(0.03137254901960784, 0.11372549019607843 , 0.34509803921568627)
|
|
830
|
+
)
|
|
831
|
+
|
|
832
|
+
_YlOrBr_data = (
|
|
833
|
+
(1.0 , 1.0 , 0.89803921568627454),
|
|
834
|
+
(1.0 , 0.96862745098039216 , 0.73725490196078436),
|
|
835
|
+
(0.99607843137254903, 0.8901960784313725 , 0.56862745098039214),
|
|
836
|
+
(0.99607843137254903, 0.7686274509803922 , 0.30980392156862746),
|
|
837
|
+
(0.99607843137254903, 0.6 , 0.16078431372549021),
|
|
838
|
+
(0.92549019607843142, 0.4392156862745098 , 0.07843137254901961),
|
|
839
|
+
(0.8 , 0.29803921568627451 , 0.00784313725490196),
|
|
840
|
+
(0.6 , 0.20392156862745098 , 0.01568627450980392),
|
|
841
|
+
(0.4 , 0.14509803921568629 , 0.02352941176470588)
|
|
842
|
+
)
|
|
843
|
+
|
|
844
|
+
_YlOrRd_data = (
|
|
845
|
+
(1.0 , 1.0 , 0.8 ),
|
|
846
|
+
(1.0 , 0.92941176470588238 , 0.62745098039215685),
|
|
847
|
+
(0.99607843137254903, 0.85098039215686272 , 0.46274509803921571),
|
|
848
|
+
(0.99607843137254903, 0.69803921568627447 , 0.29803921568627451),
|
|
849
|
+
(0.99215686274509807, 0.55294117647058827 , 0.23529411764705882),
|
|
850
|
+
(0.9882352941176471 , 0.30588235294117649 , 0.16470588235294117),
|
|
851
|
+
(0.8901960784313725 , 0.10196078431372549 , 0.10980392156862745),
|
|
852
|
+
(0.74117647058823533, 0.0 , 0.14901960784313725),
|
|
853
|
+
(0.50196078431372548, 0.0 , 0.14901960784313725)
|
|
854
|
+
)
|
|
855
|
+
|
|
856
|
+
# ColorBrewer's qualitative maps, implemented using ListedColormap
|
|
857
|
+
# for use with mpl.colors.NoNorm
|
|
858
|
+
|
|
859
|
+
_Accent_data = (
|
|
860
|
+
(0.49803921568627452, 0.78823529411764703, 0.49803921568627452),
|
|
861
|
+
(0.74509803921568629, 0.68235294117647061, 0.83137254901960789),
|
|
862
|
+
(0.99215686274509807, 0.75294117647058822, 0.52549019607843139),
|
|
863
|
+
(1.0, 1.0, 0.6 ),
|
|
864
|
+
(0.2196078431372549, 0.42352941176470588, 0.69019607843137254),
|
|
865
|
+
(0.94117647058823528, 0.00784313725490196, 0.49803921568627452),
|
|
866
|
+
(0.74901960784313726, 0.35686274509803922, 0.09019607843137254),
|
|
867
|
+
(0.4, 0.4, 0.4 ),
|
|
868
|
+
)
|
|
869
|
+
|
|
870
|
+
_Dark2_data = (
|
|
871
|
+
(0.10588235294117647, 0.61960784313725492, 0.46666666666666667),
|
|
872
|
+
(0.85098039215686272, 0.37254901960784315, 0.00784313725490196),
|
|
873
|
+
(0.45882352941176469, 0.4392156862745098, 0.70196078431372544),
|
|
874
|
+
(0.90588235294117647, 0.16078431372549021, 0.54117647058823526),
|
|
875
|
+
(0.4, 0.65098039215686276, 0.11764705882352941),
|
|
876
|
+
(0.90196078431372551, 0.6705882352941176, 0.00784313725490196),
|
|
877
|
+
(0.65098039215686276, 0.46274509803921571, 0.11372549019607843),
|
|
878
|
+
(0.4, 0.4, 0.4 ),
|
|
879
|
+
)
|
|
880
|
+
|
|
881
|
+
# Okabe-Ito accessible and print-friendly color palette.
|
|
882
|
+
# By Masataka Okabe (Jikei Medical School) and Kei Ito (University of Tokyo).
|
|
883
|
+
# Qualitative color palette that is unambiguous regardless of whether
|
|
884
|
+
# the viewer has colorblindness. https://jfly.uni-koeln.de/color/#pallet
|
|
885
|
+
|
|
886
|
+
_okabe_ito_data = (
|
|
887
|
+
(0.0, 0.0, 0.0), # black
|
|
888
|
+
(0.9019607843137255, 0.6235294117647059, 0.0), # e69f00
|
|
889
|
+
(0.33725490196078434, 0.7058823529411765, 0.9137254901960784), # 56b4e9
|
|
890
|
+
(0.0, 0.6196078431372549, 0.45098039215686275), # 009e73
|
|
891
|
+
(0.9411764705882353, 0.8941176470588236, 0.25882352941176473), # f0e442
|
|
892
|
+
(0.0, 0.4470588235294118, 0.6980392156862745), # 0072b2
|
|
893
|
+
(0.8352941176470589, 0.3686274509803922, 0.0), # d55e00
|
|
894
|
+
(0.8, 0.4745098039215686, 0.6549019607843137), # cc79a7
|
|
895
|
+
)
|
|
896
|
+
|
|
897
|
+
_Paired_data = (
|
|
898
|
+
(0.65098039215686276, 0.80784313725490198, 0.8901960784313725 ),
|
|
899
|
+
(0.12156862745098039, 0.47058823529411764, 0.70588235294117652),
|
|
900
|
+
(0.69803921568627447, 0.87450980392156863, 0.54117647058823526),
|
|
901
|
+
(0.2, 0.62745098039215685, 0.17254901960784313),
|
|
902
|
+
(0.98431372549019602, 0.60392156862745094, 0.6 ),
|
|
903
|
+
(0.8901960784313725, 0.10196078431372549, 0.10980392156862745),
|
|
904
|
+
(0.99215686274509807, 0.74901960784313726, 0.43529411764705883),
|
|
905
|
+
(1.0, 0.49803921568627452, 0.0 ),
|
|
906
|
+
(0.792156862745098, 0.69803921568627447, 0.83921568627450982),
|
|
907
|
+
(0.41568627450980394, 0.23921568627450981, 0.60392156862745094),
|
|
908
|
+
(1.0, 1.0, 0.6 ),
|
|
909
|
+
(0.69411764705882351, 0.34901960784313724, 0.15686274509803921),
|
|
910
|
+
)
|
|
911
|
+
|
|
912
|
+
_Pastel1_data = (
|
|
913
|
+
(0.98431372549019602, 0.70588235294117652, 0.68235294117647061),
|
|
914
|
+
(0.70196078431372544, 0.80392156862745101, 0.8901960784313725 ),
|
|
915
|
+
(0.8, 0.92156862745098034, 0.77254901960784317),
|
|
916
|
+
(0.87058823529411766, 0.79607843137254897, 0.89411764705882357),
|
|
917
|
+
(0.99607843137254903, 0.85098039215686272, 0.65098039215686276),
|
|
918
|
+
(1.0, 1.0, 0.8 ),
|
|
919
|
+
(0.89803921568627454, 0.84705882352941175, 0.74117647058823533),
|
|
920
|
+
(0.99215686274509807, 0.85490196078431369, 0.92549019607843142),
|
|
921
|
+
(0.94901960784313721, 0.94901960784313721, 0.94901960784313721),
|
|
922
|
+
)
|
|
923
|
+
|
|
924
|
+
_Pastel2_data = (
|
|
925
|
+
(0.70196078431372544, 0.88627450980392153, 0.80392156862745101),
|
|
926
|
+
(0.99215686274509807, 0.80392156862745101, 0.67450980392156867),
|
|
927
|
+
(0.79607843137254897, 0.83529411764705885, 0.90980392156862744),
|
|
928
|
+
(0.95686274509803926, 0.792156862745098, 0.89411764705882357),
|
|
929
|
+
(0.90196078431372551, 0.96078431372549022, 0.78823529411764703),
|
|
930
|
+
(1.0, 0.94901960784313721, 0.68235294117647061),
|
|
931
|
+
(0.94509803921568625, 0.88627450980392153, 0.8 ),
|
|
932
|
+
(0.8, 0.8, 0.8 ),
|
|
933
|
+
)
|
|
934
|
+
|
|
935
|
+
_Set1_data = (
|
|
936
|
+
(0.89411764705882357, 0.10196078431372549, 0.10980392156862745),
|
|
937
|
+
(0.21568627450980393, 0.49411764705882355, 0.72156862745098038),
|
|
938
|
+
(0.30196078431372547, 0.68627450980392157, 0.29019607843137257),
|
|
939
|
+
(0.59607843137254901, 0.30588235294117649, 0.63921568627450975),
|
|
940
|
+
(1.0, 0.49803921568627452, 0.0 ),
|
|
941
|
+
(1.0, 1.0, 0.2 ),
|
|
942
|
+
(0.65098039215686276, 0.33725490196078434, 0.15686274509803921),
|
|
943
|
+
(0.96862745098039216, 0.50588235294117645, 0.74901960784313726),
|
|
944
|
+
(0.6, 0.6, 0.6),
|
|
945
|
+
)
|
|
946
|
+
|
|
947
|
+
_Set2_data = (
|
|
948
|
+
(0.4, 0.76078431372549016, 0.6470588235294118 ),
|
|
949
|
+
(0.9882352941176471, 0.55294117647058827, 0.3843137254901961 ),
|
|
950
|
+
(0.55294117647058827, 0.62745098039215685, 0.79607843137254897),
|
|
951
|
+
(0.90588235294117647, 0.54117647058823526, 0.76470588235294112),
|
|
952
|
+
(0.65098039215686276, 0.84705882352941175, 0.32941176470588235),
|
|
953
|
+
(1.0, 0.85098039215686272, 0.18431372549019609),
|
|
954
|
+
(0.89803921568627454, 0.7686274509803922, 0.58039215686274515),
|
|
955
|
+
(0.70196078431372544, 0.70196078431372544, 0.70196078431372544),
|
|
956
|
+
)
|
|
957
|
+
|
|
958
|
+
_Set3_data = (
|
|
959
|
+
(0.55294117647058827, 0.82745098039215681, 0.7803921568627451 ),
|
|
960
|
+
(1.0, 1.0, 0.70196078431372544),
|
|
961
|
+
(0.74509803921568629, 0.72941176470588232, 0.85490196078431369),
|
|
962
|
+
(0.98431372549019602, 0.50196078431372548, 0.44705882352941179),
|
|
963
|
+
(0.50196078431372548, 0.69411764705882351, 0.82745098039215681),
|
|
964
|
+
(0.99215686274509807, 0.70588235294117652, 0.3843137254901961 ),
|
|
965
|
+
(0.70196078431372544, 0.87058823529411766, 0.41176470588235292),
|
|
966
|
+
(0.9882352941176471, 0.80392156862745101, 0.89803921568627454),
|
|
967
|
+
(0.85098039215686272, 0.85098039215686272, 0.85098039215686272),
|
|
968
|
+
(0.73725490196078436, 0.50196078431372548, 0.74117647058823533),
|
|
969
|
+
(0.8, 0.92156862745098034, 0.77254901960784317),
|
|
970
|
+
(1.0, 0.92941176470588238, 0.43529411764705883),
|
|
971
|
+
)
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
# The next 7 palettes are from the Yorick scientific visualization package,
|
|
975
|
+
# an evolution of the GIST package, both by David H. Munro.
|
|
976
|
+
# They are released under a BSD-like license (see LICENSE_YORICK in
|
|
977
|
+
# the license directory of the matplotlib source distribution).
|
|
978
|
+
#
|
|
979
|
+
# Most palette functions have been reduced to simple function descriptions
|
|
980
|
+
# by Reinier Heeres, since the rgb components were mostly straight lines.
|
|
981
|
+
# gist_earth_data and gist_ncar_data were simplified by a script and some
|
|
982
|
+
# manual effort.
|
|
983
|
+
|
|
984
|
+
_gist_earth_data = {
|
|
985
|
+
'red': (
|
|
986
|
+
(0.0, 0.0, 0.0000),
|
|
987
|
+
(0.2824, 0.1882, 0.1882),
|
|
988
|
+
(0.4588, 0.2714, 0.2714),
|
|
989
|
+
(0.5490, 0.4719, 0.4719),
|
|
990
|
+
(0.6980, 0.7176, 0.7176),
|
|
991
|
+
(0.7882, 0.7553, 0.7553),
|
|
992
|
+
(1.0000, 0.9922, 0.9922),
|
|
993
|
+
),
|
|
994
|
+
'green': (
|
|
995
|
+
(0.0, 0.0, 0.0000),
|
|
996
|
+
(0.0275, 0.0000, 0.0000),
|
|
997
|
+
(0.1098, 0.1893, 0.1893),
|
|
998
|
+
(0.1647, 0.3035, 0.3035),
|
|
999
|
+
(0.2078, 0.3841, 0.3841),
|
|
1000
|
+
(0.2824, 0.5020, 0.5020),
|
|
1001
|
+
(0.5216, 0.6397, 0.6397),
|
|
1002
|
+
(0.6980, 0.7171, 0.7171),
|
|
1003
|
+
(0.7882, 0.6392, 0.6392),
|
|
1004
|
+
(0.7922, 0.6413, 0.6413),
|
|
1005
|
+
(0.8000, 0.6447, 0.6447),
|
|
1006
|
+
(0.8078, 0.6481, 0.6481),
|
|
1007
|
+
(0.8157, 0.6549, 0.6549),
|
|
1008
|
+
(0.8667, 0.6991, 0.6991),
|
|
1009
|
+
(0.8745, 0.7103, 0.7103),
|
|
1010
|
+
(0.8824, 0.7216, 0.7216),
|
|
1011
|
+
(0.8902, 0.7323, 0.7323),
|
|
1012
|
+
(0.8980, 0.7430, 0.7430),
|
|
1013
|
+
(0.9412, 0.8275, 0.8275),
|
|
1014
|
+
(0.9569, 0.8635, 0.8635),
|
|
1015
|
+
(0.9647, 0.8816, 0.8816),
|
|
1016
|
+
(0.9961, 0.9733, 0.9733),
|
|
1017
|
+
(1.0000, 0.9843, 0.9843),
|
|
1018
|
+
),
|
|
1019
|
+
'blue': (
|
|
1020
|
+
(0.0, 0.0, 0.0000),
|
|
1021
|
+
(0.0039, 0.1684, 0.1684),
|
|
1022
|
+
(0.0078, 0.2212, 0.2212),
|
|
1023
|
+
(0.0275, 0.4329, 0.4329),
|
|
1024
|
+
(0.0314, 0.4549, 0.4549),
|
|
1025
|
+
(0.2824, 0.5004, 0.5004),
|
|
1026
|
+
(0.4667, 0.2748, 0.2748),
|
|
1027
|
+
(0.5451, 0.3205, 0.3205),
|
|
1028
|
+
(0.7843, 0.3961, 0.3961),
|
|
1029
|
+
(0.8941, 0.6651, 0.6651),
|
|
1030
|
+
(1.0000, 0.9843, 0.9843),
|
|
1031
|
+
)
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
_gist_gray_data = {
|
|
1035
|
+
'red': gfunc[3],
|
|
1036
|
+
'green': gfunc[3],
|
|
1037
|
+
'blue': gfunc[3],
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
def _gist_heat_red(x): return 1.5 * x
|
|
1041
|
+
def _gist_heat_green(x): return 2 * x - 1
|
|
1042
|
+
def _gist_heat_blue(x): return 4 * x - 3
|
|
1043
|
+
_gist_heat_data = {
|
|
1044
|
+
'red': _gist_heat_red, 'green': _gist_heat_green, 'blue': _gist_heat_blue}
|
|
1045
|
+
|
|
1046
|
+
_gist_ncar_data = {
|
|
1047
|
+
'red': (
|
|
1048
|
+
(0.0, 0.0, 0.0000),
|
|
1049
|
+
(0.3098, 0.0000, 0.0000),
|
|
1050
|
+
(0.3725, 0.3993, 0.3993),
|
|
1051
|
+
(0.4235, 0.5003, 0.5003),
|
|
1052
|
+
(0.5333, 1.0000, 1.0000),
|
|
1053
|
+
(0.7922, 1.0000, 1.0000),
|
|
1054
|
+
(0.8471, 0.6218, 0.6218),
|
|
1055
|
+
(0.8980, 0.9235, 0.9235),
|
|
1056
|
+
(1.0000, 0.9961, 0.9961),
|
|
1057
|
+
),
|
|
1058
|
+
'green': (
|
|
1059
|
+
(0.0, 0.0, 0.0000),
|
|
1060
|
+
(0.0510, 0.3722, 0.3722),
|
|
1061
|
+
(0.1059, 0.0000, 0.0000),
|
|
1062
|
+
(0.1569, 0.7202, 0.7202),
|
|
1063
|
+
(0.1608, 0.7537, 0.7537),
|
|
1064
|
+
(0.1647, 0.7752, 0.7752),
|
|
1065
|
+
(0.2157, 1.0000, 1.0000),
|
|
1066
|
+
(0.2588, 0.9804, 0.9804),
|
|
1067
|
+
(0.2706, 0.9804, 0.9804),
|
|
1068
|
+
(0.3176, 1.0000, 1.0000),
|
|
1069
|
+
(0.3686, 0.8081, 0.8081),
|
|
1070
|
+
(0.4275, 1.0000, 1.0000),
|
|
1071
|
+
(0.5216, 1.0000, 1.0000),
|
|
1072
|
+
(0.6314, 0.7292, 0.7292),
|
|
1073
|
+
(0.6863, 0.2796, 0.2796),
|
|
1074
|
+
(0.7451, 0.0000, 0.0000),
|
|
1075
|
+
(0.7922, 0.0000, 0.0000),
|
|
1076
|
+
(0.8431, 0.1753, 0.1753),
|
|
1077
|
+
(0.8980, 0.5000, 0.5000),
|
|
1078
|
+
(1.0000, 0.9725, 0.9725),
|
|
1079
|
+
),
|
|
1080
|
+
'blue': (
|
|
1081
|
+
(0.0, 0.5020, 0.5020),
|
|
1082
|
+
(0.0510, 0.0222, 0.0222),
|
|
1083
|
+
(0.1098, 1.0000, 1.0000),
|
|
1084
|
+
(0.2039, 1.0000, 1.0000),
|
|
1085
|
+
(0.2627, 0.6145, 0.6145),
|
|
1086
|
+
(0.3216, 0.0000, 0.0000),
|
|
1087
|
+
(0.4157, 0.0000, 0.0000),
|
|
1088
|
+
(0.4745, 0.2342, 0.2342),
|
|
1089
|
+
(0.5333, 0.0000, 0.0000),
|
|
1090
|
+
(0.5804, 0.0000, 0.0000),
|
|
1091
|
+
(0.6314, 0.0549, 0.0549),
|
|
1092
|
+
(0.6902, 0.0000, 0.0000),
|
|
1093
|
+
(0.7373, 0.0000, 0.0000),
|
|
1094
|
+
(0.7922, 0.9738, 0.9738),
|
|
1095
|
+
(0.8000, 1.0000, 1.0000),
|
|
1096
|
+
(0.8431, 1.0000, 1.0000),
|
|
1097
|
+
(0.8980, 0.9341, 0.9341),
|
|
1098
|
+
(1.0000, 0.9961, 0.9961),
|
|
1099
|
+
)
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
_gist_rainbow_data = (
|
|
1103
|
+
(0.000, (1.00, 0.00, 0.16)),
|
|
1104
|
+
(0.030, (1.00, 0.00, 0.00)),
|
|
1105
|
+
(0.215, (1.00, 1.00, 0.00)),
|
|
1106
|
+
(0.400, (0.00, 1.00, 0.00)),
|
|
1107
|
+
(0.586, (0.00, 1.00, 1.00)),
|
|
1108
|
+
(0.770, (0.00, 0.00, 1.00)),
|
|
1109
|
+
(0.954, (1.00, 0.00, 1.00)),
|
|
1110
|
+
(1.000, (1.00, 0.00, 0.75))
|
|
1111
|
+
)
|
|
1112
|
+
|
|
1113
|
+
_gist_stern_data = {
|
|
1114
|
+
'red': (
|
|
1115
|
+
(0.000, 0.000, 0.000), (0.0547, 1.000, 1.000),
|
|
1116
|
+
(0.250, 0.027, 0.250), # (0.2500, 0.250, 0.250),
|
|
1117
|
+
(1.000, 1.000, 1.000)),
|
|
1118
|
+
'green': ((0, 0, 0), (1, 1, 1)),
|
|
1119
|
+
'blue': (
|
|
1120
|
+
(0.000, 0.000, 0.000), (0.500, 1.000, 1.000),
|
|
1121
|
+
(0.735, 0.000, 0.000), (1.000, 1.000, 1.000))
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
def _gist_yarg(x): return 1 - x
|
|
1125
|
+
_gist_yarg_data = {'red': _gist_yarg, 'green': _gist_yarg, 'blue': _gist_yarg}
|
|
1126
|
+
|
|
1127
|
+
# This bipolar colormap was generated from CoolWarmFloat33.csv of
|
|
1128
|
+
# "Diverging Color Maps for Scientific Visualization" by Kenneth Moreland.
|
|
1129
|
+
# <http://www.kennethmoreland.com/color-maps/>
|
|
1130
|
+
_coolwarm_data = {
|
|
1131
|
+
'red': [
|
|
1132
|
+
(0.0, 0.2298057, 0.2298057),
|
|
1133
|
+
(0.03125, 0.26623388, 0.26623388),
|
|
1134
|
+
(0.0625, 0.30386891, 0.30386891),
|
|
1135
|
+
(0.09375, 0.342804478, 0.342804478),
|
|
1136
|
+
(0.125, 0.38301334, 0.38301334),
|
|
1137
|
+
(0.15625, 0.424369608, 0.424369608),
|
|
1138
|
+
(0.1875, 0.46666708, 0.46666708),
|
|
1139
|
+
(0.21875, 0.509635204, 0.509635204),
|
|
1140
|
+
(0.25, 0.552953156, 0.552953156),
|
|
1141
|
+
(0.28125, 0.596262162, 0.596262162),
|
|
1142
|
+
(0.3125, 0.639176211, 0.639176211),
|
|
1143
|
+
(0.34375, 0.681291281, 0.681291281),
|
|
1144
|
+
(0.375, 0.722193294, 0.722193294),
|
|
1145
|
+
(0.40625, 0.761464949, 0.761464949),
|
|
1146
|
+
(0.4375, 0.798691636, 0.798691636),
|
|
1147
|
+
(0.46875, 0.833466556, 0.833466556),
|
|
1148
|
+
(0.5, 0.865395197, 0.865395197),
|
|
1149
|
+
(0.53125, 0.897787179, 0.897787179),
|
|
1150
|
+
(0.5625, 0.924127593, 0.924127593),
|
|
1151
|
+
(0.59375, 0.944468518, 0.944468518),
|
|
1152
|
+
(0.625, 0.958852946, 0.958852946),
|
|
1153
|
+
(0.65625, 0.96732803, 0.96732803),
|
|
1154
|
+
(0.6875, 0.969954137, 0.969954137),
|
|
1155
|
+
(0.71875, 0.966811177, 0.966811177),
|
|
1156
|
+
(0.75, 0.958003065, 0.958003065),
|
|
1157
|
+
(0.78125, 0.943660866, 0.943660866),
|
|
1158
|
+
(0.8125, 0.923944917, 0.923944917),
|
|
1159
|
+
(0.84375, 0.89904617, 0.89904617),
|
|
1160
|
+
(0.875, 0.869186849, 0.869186849),
|
|
1161
|
+
(0.90625, 0.834620542, 0.834620542),
|
|
1162
|
+
(0.9375, 0.795631745, 0.795631745),
|
|
1163
|
+
(0.96875, 0.752534934, 0.752534934),
|
|
1164
|
+
(1.0, 0.705673158, 0.705673158)],
|
|
1165
|
+
'green': [
|
|
1166
|
+
(0.0, 0.298717966, 0.298717966),
|
|
1167
|
+
(0.03125, 0.353094838, 0.353094838),
|
|
1168
|
+
(0.0625, 0.406535296, 0.406535296),
|
|
1169
|
+
(0.09375, 0.458757618, 0.458757618),
|
|
1170
|
+
(0.125, 0.50941904, 0.50941904),
|
|
1171
|
+
(0.15625, 0.558148092, 0.558148092),
|
|
1172
|
+
(0.1875, 0.604562568, 0.604562568),
|
|
1173
|
+
(0.21875, 0.648280772, 0.648280772),
|
|
1174
|
+
(0.25, 0.688929332, 0.688929332),
|
|
1175
|
+
(0.28125, 0.726149107, 0.726149107),
|
|
1176
|
+
(0.3125, 0.759599947, 0.759599947),
|
|
1177
|
+
(0.34375, 0.788964712, 0.788964712),
|
|
1178
|
+
(0.375, 0.813952739, 0.813952739),
|
|
1179
|
+
(0.40625, 0.834302879, 0.834302879),
|
|
1180
|
+
(0.4375, 0.849786142, 0.849786142),
|
|
1181
|
+
(0.46875, 0.860207984, 0.860207984),
|
|
1182
|
+
(0.5, 0.86541021, 0.86541021),
|
|
1183
|
+
(0.53125, 0.848937047, 0.848937047),
|
|
1184
|
+
(0.5625, 0.827384882, 0.827384882),
|
|
1185
|
+
(0.59375, 0.800927443, 0.800927443),
|
|
1186
|
+
(0.625, 0.769767752, 0.769767752),
|
|
1187
|
+
(0.65625, 0.734132809, 0.734132809),
|
|
1188
|
+
(0.6875, 0.694266682, 0.694266682),
|
|
1189
|
+
(0.71875, 0.650421156, 0.650421156),
|
|
1190
|
+
(0.75, 0.602842431, 0.602842431),
|
|
1191
|
+
(0.78125, 0.551750968, 0.551750968),
|
|
1192
|
+
(0.8125, 0.49730856, 0.49730856),
|
|
1193
|
+
(0.84375, 0.439559467, 0.439559467),
|
|
1194
|
+
(0.875, 0.378313092, 0.378313092),
|
|
1195
|
+
(0.90625, 0.312874446, 0.312874446),
|
|
1196
|
+
(0.9375, 0.24128379, 0.24128379),
|
|
1197
|
+
(0.96875, 0.157246067, 0.157246067),
|
|
1198
|
+
(1.0, 0.01555616, 0.01555616)],
|
|
1199
|
+
'blue': [
|
|
1200
|
+
(0.0, 0.753683153, 0.753683153),
|
|
1201
|
+
(0.03125, 0.801466763, 0.801466763),
|
|
1202
|
+
(0.0625, 0.84495867, 0.84495867),
|
|
1203
|
+
(0.09375, 0.883725899, 0.883725899),
|
|
1204
|
+
(0.125, 0.917387822, 0.917387822),
|
|
1205
|
+
(0.15625, 0.945619588, 0.945619588),
|
|
1206
|
+
(0.1875, 0.968154911, 0.968154911),
|
|
1207
|
+
(0.21875, 0.98478814, 0.98478814),
|
|
1208
|
+
(0.25, 0.995375608, 0.995375608),
|
|
1209
|
+
(0.28125, 0.999836203, 0.999836203),
|
|
1210
|
+
(0.3125, 0.998151185, 0.998151185),
|
|
1211
|
+
(0.34375, 0.990363227, 0.990363227),
|
|
1212
|
+
(0.375, 0.976574709, 0.976574709),
|
|
1213
|
+
(0.40625, 0.956945269, 0.956945269),
|
|
1214
|
+
(0.4375, 0.931688648, 0.931688648),
|
|
1215
|
+
(0.46875, 0.901068838, 0.901068838),
|
|
1216
|
+
(0.5, 0.865395561, 0.865395561),
|
|
1217
|
+
(0.53125, 0.820880546, 0.820880546),
|
|
1218
|
+
(0.5625, 0.774508472, 0.774508472),
|
|
1219
|
+
(0.59375, 0.726736146, 0.726736146),
|
|
1220
|
+
(0.625, 0.678007945, 0.678007945),
|
|
1221
|
+
(0.65625, 0.628751763, 0.628751763),
|
|
1222
|
+
(0.6875, 0.579375448, 0.579375448),
|
|
1223
|
+
(0.71875, 0.530263762, 0.530263762),
|
|
1224
|
+
(0.75, 0.481775914, 0.481775914),
|
|
1225
|
+
(0.78125, 0.434243684, 0.434243684),
|
|
1226
|
+
(0.8125, 0.387970225, 0.387970225),
|
|
1227
|
+
(0.84375, 0.343229596, 0.343229596),
|
|
1228
|
+
(0.875, 0.300267182, 0.300267182),
|
|
1229
|
+
(0.90625, 0.259301199, 0.259301199),
|
|
1230
|
+
(0.9375, 0.220525627, 0.220525627),
|
|
1231
|
+
(0.96875, 0.184115123, 0.184115123),
|
|
1232
|
+
(1.0, 0.150232812, 0.150232812)]
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
# Implementation of Carey Rappaport's CMRmap.
|
|
1236
|
+
# See `A Color Map for Effective Black-and-White Rendering of Color-Scale
|
|
1237
|
+
# Images' by Carey Rappaport
|
|
1238
|
+
# https://www.mathworks.com/matlabcentral/fileexchange/2662-cmrmap-m
|
|
1239
|
+
_CMRmap_data = {'red': ((0.000, 0.00, 0.00),
|
|
1240
|
+
(0.125, 0.15, 0.15),
|
|
1241
|
+
(0.250, 0.30, 0.30),
|
|
1242
|
+
(0.375, 0.60, 0.60),
|
|
1243
|
+
(0.500, 1.00, 1.00),
|
|
1244
|
+
(0.625, 0.90, 0.90),
|
|
1245
|
+
(0.750, 0.90, 0.90),
|
|
1246
|
+
(0.875, 0.90, 0.90),
|
|
1247
|
+
(1.000, 1.00, 1.00)),
|
|
1248
|
+
'green': ((0.000, 0.00, 0.00),
|
|
1249
|
+
(0.125, 0.15, 0.15),
|
|
1250
|
+
(0.250, 0.15, 0.15),
|
|
1251
|
+
(0.375, 0.20, 0.20),
|
|
1252
|
+
(0.500, 0.25, 0.25),
|
|
1253
|
+
(0.625, 0.50, 0.50),
|
|
1254
|
+
(0.750, 0.75, 0.75),
|
|
1255
|
+
(0.875, 0.90, 0.90),
|
|
1256
|
+
(1.000, 1.00, 1.00)),
|
|
1257
|
+
'blue': ((0.000, 0.00, 0.00),
|
|
1258
|
+
(0.125, 0.50, 0.50),
|
|
1259
|
+
(0.250, 0.75, 0.75),
|
|
1260
|
+
(0.375, 0.50, 0.50),
|
|
1261
|
+
(0.500, 0.15, 0.15),
|
|
1262
|
+
(0.625, 0.00, 0.00),
|
|
1263
|
+
(0.750, 0.10, 0.10),
|
|
1264
|
+
(0.875, 0.50, 0.50),
|
|
1265
|
+
(1.000, 1.00, 1.00))}
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
# An MIT licensed, colorblind-friendly heatmap from Wistia:
|
|
1269
|
+
# https://github.com/wistia/heatmap-palette
|
|
1270
|
+
# https://wistia.com/learn/culture/heatmaps-for-colorblindness
|
|
1271
|
+
#
|
|
1272
|
+
# >>> import matplotlib.colors as c
|
|
1273
|
+
# >>> colors = ["#e4ff7a", "#ffe81a", "#ffbd00", "#ffa000", "#fc7f00"]
|
|
1274
|
+
# >>> cm = c.LinearSegmentedColormap.from_list('wistia', colors)
|
|
1275
|
+
# >>> _wistia_data = cm._segmentdata
|
|
1276
|
+
# >>> del _wistia_data['alpha']
|
|
1277
|
+
#
|
|
1278
|
+
_wistia_data = {
|
|
1279
|
+
'red': [(0.0, 0.8941176470588236, 0.8941176470588236),
|
|
1280
|
+
(0.25, 1.0, 1.0),
|
|
1281
|
+
(0.5, 1.0, 1.0),
|
|
1282
|
+
(0.75, 1.0, 1.0),
|
|
1283
|
+
(1.0, 0.9882352941176471, 0.9882352941176471)],
|
|
1284
|
+
'green': [(0.0, 1.0, 1.0),
|
|
1285
|
+
(0.25, 0.9098039215686274, 0.9098039215686274),
|
|
1286
|
+
(0.5, 0.7411764705882353, 0.7411764705882353),
|
|
1287
|
+
(0.75, 0.6274509803921569, 0.6274509803921569),
|
|
1288
|
+
(1.0, 0.4980392156862745, 0.4980392156862745)],
|
|
1289
|
+
'blue': [(0.0, 0.47843137254901963, 0.47843137254901963),
|
|
1290
|
+
(0.25, 0.10196078431372549, 0.10196078431372549),
|
|
1291
|
+
(0.5, 0.0, 0.0),
|
|
1292
|
+
(0.75, 0.0, 0.0),
|
|
1293
|
+
(1.0, 0.0, 0.0)],
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
# Categorical palettes from Vega:
|
|
1298
|
+
# https://github.com/vega/vega/wiki/Scales
|
|
1299
|
+
# (divided by 255)
|
|
1300
|
+
#
|
|
1301
|
+
|
|
1302
|
+
_tab10_data = (
|
|
1303
|
+
(0.12156862745098039, 0.4666666666666667, 0.7058823529411765 ), # 1f77b4
|
|
1304
|
+
(1.0, 0.4980392156862745, 0.054901960784313725), # ff7f0e
|
|
1305
|
+
(0.17254901960784313, 0.6274509803921569, 0.17254901960784313 ), # 2ca02c
|
|
1306
|
+
(0.8392156862745098, 0.15294117647058825, 0.1568627450980392 ), # d62728
|
|
1307
|
+
(0.5803921568627451, 0.403921568627451, 0.7411764705882353 ), # 9467bd
|
|
1308
|
+
(0.5490196078431373, 0.33725490196078434, 0.29411764705882354 ), # 8c564b
|
|
1309
|
+
(0.8901960784313725, 0.4666666666666667, 0.7607843137254902 ), # e377c2
|
|
1310
|
+
(0.4980392156862745, 0.4980392156862745, 0.4980392156862745 ), # 7f7f7f
|
|
1311
|
+
(0.7372549019607844, 0.7411764705882353, 0.13333333333333333 ), # bcbd22
|
|
1312
|
+
(0.09019607843137255, 0.7450980392156863, 0.8117647058823529), # 17becf
|
|
1313
|
+
)
|
|
1314
|
+
|
|
1315
|
+
_tab20_data = (
|
|
1316
|
+
(0.12156862745098039, 0.4666666666666667, 0.7058823529411765 ), # 1f77b4
|
|
1317
|
+
(0.6823529411764706, 0.7803921568627451, 0.9098039215686274 ), # aec7e8
|
|
1318
|
+
(1.0, 0.4980392156862745, 0.054901960784313725), # ff7f0e
|
|
1319
|
+
(1.0, 0.7333333333333333, 0.47058823529411764 ), # ffbb78
|
|
1320
|
+
(0.17254901960784313, 0.6274509803921569, 0.17254901960784313 ), # 2ca02c
|
|
1321
|
+
(0.596078431372549, 0.8745098039215686, 0.5411764705882353 ), # 98df8a
|
|
1322
|
+
(0.8392156862745098, 0.15294117647058825, 0.1568627450980392 ), # d62728
|
|
1323
|
+
(1.0, 0.596078431372549, 0.5882352941176471 ), # ff9896
|
|
1324
|
+
(0.5803921568627451, 0.403921568627451, 0.7411764705882353 ), # 9467bd
|
|
1325
|
+
(0.7725490196078432, 0.6901960784313725, 0.8352941176470589 ), # c5b0d5
|
|
1326
|
+
(0.5490196078431373, 0.33725490196078434, 0.29411764705882354 ), # 8c564b
|
|
1327
|
+
(0.7686274509803922, 0.611764705882353, 0.5803921568627451 ), # c49c94
|
|
1328
|
+
(0.8901960784313725, 0.4666666666666667, 0.7607843137254902 ), # e377c2
|
|
1329
|
+
(0.9686274509803922, 0.7137254901960784, 0.8235294117647058 ), # f7b6d2
|
|
1330
|
+
(0.4980392156862745, 0.4980392156862745, 0.4980392156862745 ), # 7f7f7f
|
|
1331
|
+
(0.7803921568627451, 0.7803921568627451, 0.7803921568627451 ), # c7c7c7
|
|
1332
|
+
(0.7372549019607844, 0.7411764705882353, 0.13333333333333333 ), # bcbd22
|
|
1333
|
+
(0.8588235294117647, 0.8588235294117647, 0.5529411764705883 ), # dbdb8d
|
|
1334
|
+
(0.09019607843137255, 0.7450980392156863, 0.8117647058823529 ), # 17becf
|
|
1335
|
+
(0.6196078431372549, 0.8549019607843137, 0.8980392156862745), # 9edae5
|
|
1336
|
+
)
|
|
1337
|
+
|
|
1338
|
+
_tab20b_data = (
|
|
1339
|
+
(0.2235294117647059, 0.23137254901960785, 0.4745098039215686 ), # 393b79
|
|
1340
|
+
(0.3215686274509804, 0.32941176470588235, 0.6392156862745098 ), # 5254a3
|
|
1341
|
+
(0.4196078431372549, 0.43137254901960786, 0.8117647058823529 ), # 6b6ecf
|
|
1342
|
+
(0.611764705882353, 0.6196078431372549, 0.8705882352941177 ), # 9c9ede
|
|
1343
|
+
(0.38823529411764707, 0.4745098039215686, 0.2235294117647059 ), # 637939
|
|
1344
|
+
(0.5490196078431373, 0.6352941176470588, 0.3215686274509804 ), # 8ca252
|
|
1345
|
+
(0.7098039215686275, 0.8117647058823529, 0.4196078431372549 ), # b5cf6b
|
|
1346
|
+
(0.807843137254902, 0.8588235294117647, 0.611764705882353 ), # cedb9c
|
|
1347
|
+
(0.5490196078431373, 0.42745098039215684, 0.19215686274509805), # 8c6d31
|
|
1348
|
+
(0.7411764705882353, 0.6196078431372549, 0.2235294117647059 ), # bd9e39
|
|
1349
|
+
(0.9058823529411765, 0.7294117647058823, 0.3215686274509804 ), # e7ba52
|
|
1350
|
+
(0.9058823529411765, 0.796078431372549, 0.5803921568627451 ), # e7cb94
|
|
1351
|
+
(0.5176470588235295, 0.23529411764705882, 0.2235294117647059 ), # 843c39
|
|
1352
|
+
(0.6784313725490196, 0.28627450980392155, 0.2901960784313726 ), # ad494a
|
|
1353
|
+
(0.8392156862745098, 0.3803921568627451, 0.4196078431372549 ), # d6616b
|
|
1354
|
+
(0.9058823529411765, 0.5882352941176471, 0.611764705882353 ), # e7969c
|
|
1355
|
+
(0.4823529411764706, 0.2549019607843137, 0.45098039215686275), # 7b4173
|
|
1356
|
+
(0.6470588235294118, 0.3176470588235294, 0.5803921568627451 ), # a55194
|
|
1357
|
+
(0.807843137254902, 0.42745098039215684, 0.7411764705882353 ), # ce6dbd
|
|
1358
|
+
(0.8705882352941177, 0.6196078431372549, 0.8392156862745098 ), # de9ed6
|
|
1359
|
+
)
|
|
1360
|
+
|
|
1361
|
+
_tab20c_data = (
|
|
1362
|
+
(0.19215686274509805, 0.5098039215686274, 0.7411764705882353 ), # 3182bd
|
|
1363
|
+
(0.4196078431372549, 0.6823529411764706, 0.8392156862745098 ), # 6baed6
|
|
1364
|
+
(0.6196078431372549, 0.792156862745098, 0.8823529411764706 ), # 9ecae1
|
|
1365
|
+
(0.7764705882352941, 0.8588235294117647, 0.9372549019607843 ), # c6dbef
|
|
1366
|
+
(0.9019607843137255, 0.3333333333333333, 0.050980392156862744), # e6550d
|
|
1367
|
+
(0.9921568627450981, 0.5529411764705883, 0.23529411764705882 ), # fd8d3c
|
|
1368
|
+
(0.9921568627450981, 0.6823529411764706, 0.4196078431372549 ), # fdae6b
|
|
1369
|
+
(0.9921568627450981, 0.8156862745098039, 0.6352941176470588 ), # fdd0a2
|
|
1370
|
+
(0.19215686274509805, 0.6392156862745098, 0.32941176470588235 ), # 31a354
|
|
1371
|
+
(0.4549019607843137, 0.7686274509803922, 0.4627450980392157 ), # 74c476
|
|
1372
|
+
(0.6313725490196078, 0.8509803921568627, 0.6078431372549019 ), # a1d99b
|
|
1373
|
+
(0.7803921568627451, 0.9137254901960784, 0.7529411764705882 ), # c7e9c0
|
|
1374
|
+
(0.4588235294117647, 0.4196078431372549, 0.6941176470588235 ), # 756bb1
|
|
1375
|
+
(0.6196078431372549, 0.6039215686274509, 0.7843137254901961 ), # 9e9ac8
|
|
1376
|
+
(0.7372549019607844, 0.7411764705882353, 0.8627450980392157 ), # bcbddc
|
|
1377
|
+
(0.8549019607843137, 0.8549019607843137, 0.9215686274509803 ), # dadaeb
|
|
1378
|
+
(0.38823529411764707, 0.38823529411764707, 0.38823529411764707 ), # 636363
|
|
1379
|
+
(0.5882352941176471, 0.5882352941176471, 0.5882352941176471 ), # 969696
|
|
1380
|
+
(0.7411764705882353, 0.7411764705882353, 0.7411764705882353 ), # bdbdbd
|
|
1381
|
+
(0.8509803921568627, 0.8509803921568627, 0.8509803921568627 ), # d9d9d9
|
|
1382
|
+
)
|
|
1383
|
+
|
|
1384
|
+
# Colorblind accessible palettes from
|
|
1385
|
+
# Matthew A. Petroff, Accessible Color Sequences for Data Visualization
|
|
1386
|
+
# https://arxiv.org/abs/2107.02270
|
|
1387
|
+
|
|
1388
|
+
_petroff6_data = (
|
|
1389
|
+
(0.3411764705882353, 0.5647058823529412, 0.9882352941176471), # 5790fc
|
|
1390
|
+
(0.9725490196078431, 0.611764705882353, 0.12549019607843137), # f89c20
|
|
1391
|
+
(0.8941176470588236, 0.1450980392156863, 0.21176470588235294), # e42536
|
|
1392
|
+
(0.5882352941176471, 0.2901960784313726, 0.5450980392156862), # 964a8b
|
|
1393
|
+
(0.611764705882353, 0.611764705882353, 0.6313725490196078), # 9c9ca1
|
|
1394
|
+
(0.47843137254901963, 0.12941176470588237, 0.8666666666666667), # 7a21dd
|
|
1395
|
+
)
|
|
1396
|
+
|
|
1397
|
+
_petroff8_data = (
|
|
1398
|
+
(0.09411764705882353, 0.27058823529411763, 0.984313725490196), # 1845fb
|
|
1399
|
+
(1.0, 0.3686274509803922, 0.00784313725490196), # ff5e02
|
|
1400
|
+
(0.788235294117647, 0.12156862745098039, 0.08627450980392157), # c91f16
|
|
1401
|
+
(0.7843137254901961, 0.28627450980392155, 0.6627450980392157), # c849a9
|
|
1402
|
+
(0.6784313725490196, 0.6784313725490196, 0.49019607843137253), # adad7d
|
|
1403
|
+
(0.5254901960784314, 0.7843137254901961, 0.8666666666666667), # 86c8dd
|
|
1404
|
+
(0.3411764705882353, 0.5529411764705883, 1.0), # 578dff
|
|
1405
|
+
(0.396078431372549, 0.38823529411764707, 0.39215686274509803), # 656364
|
|
1406
|
+
)
|
|
1407
|
+
|
|
1408
|
+
_petroff10_data = (
|
|
1409
|
+
(0.24705882352941178, 0.5647058823529412, 0.8549019607843137), # 3f90da
|
|
1410
|
+
(1.0, 0.6627450980392157, 0.054901960784313725), # ffa90e
|
|
1411
|
+
(0.7411764705882353, 0.12156862745098039, 0.00392156862745098), # bd1f01
|
|
1412
|
+
(0.5803921568627451, 0.6431372549019608, 0.6352941176470588), # 94a4a2
|
|
1413
|
+
(0.5137254901960784, 0.17647058823529413, 0.7137254901960784), # 832db6
|
|
1414
|
+
(0.6627450980392157, 0.4196078431372549, 0.34901960784313724), # a96b59
|
|
1415
|
+
(0.9058823529411765, 0.38823529411764707, 0.0), # e76300
|
|
1416
|
+
(0.7254901960784313, 0.6745098039215687, 0.4392156862745098), # b9ac70
|
|
1417
|
+
(0.44313725490196076, 0.4588235294117647, 0.5058823529411764), # 717581
|
|
1418
|
+
(0.5725490196078431, 0.8549019607843137, 0.8666666666666667), # 92dadd
|
|
1419
|
+
)
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
datad = {
|
|
1423
|
+
'Blues': _Blues_data,
|
|
1424
|
+
'BrBG': _BrBG_data,
|
|
1425
|
+
'BuGn': _BuGn_data,
|
|
1426
|
+
'BuPu': _BuPu_data,
|
|
1427
|
+
'CMRmap': _CMRmap_data,
|
|
1428
|
+
'GnBu': _GnBu_data,
|
|
1429
|
+
'Greens': _Greens_data,
|
|
1430
|
+
'Greys': _Greys_data,
|
|
1431
|
+
'OrRd': _OrRd_data,
|
|
1432
|
+
'Oranges': _Oranges_data,
|
|
1433
|
+
'PRGn': _PRGn_data,
|
|
1434
|
+
'PiYG': _PiYG_data,
|
|
1435
|
+
'PuBu': _PuBu_data,
|
|
1436
|
+
'PuBuGn': _PuBuGn_data,
|
|
1437
|
+
'PuOr': _PuOr_data,
|
|
1438
|
+
'PuRd': _PuRd_data,
|
|
1439
|
+
'Purples': _Purples_data,
|
|
1440
|
+
'RdBu': _RdBu_data,
|
|
1441
|
+
'RdGy': _RdGy_data,
|
|
1442
|
+
'RdPu': _RdPu_data,
|
|
1443
|
+
'RdYlBu': _RdYlBu_data,
|
|
1444
|
+
'RdYlGn': _RdYlGn_data,
|
|
1445
|
+
'Reds': _Reds_data,
|
|
1446
|
+
'Spectral': _Spectral_data,
|
|
1447
|
+
'Wistia': _wistia_data,
|
|
1448
|
+
'YlGn': _YlGn_data,
|
|
1449
|
+
'YlGnBu': _YlGnBu_data,
|
|
1450
|
+
'YlOrBr': _YlOrBr_data,
|
|
1451
|
+
'YlOrRd': _YlOrRd_data,
|
|
1452
|
+
'afmhot': _afmhot_data,
|
|
1453
|
+
'autumn': _autumn_data,
|
|
1454
|
+
'binary': _binary_data,
|
|
1455
|
+
'bone': _bone_data,
|
|
1456
|
+
'brg': _brg_data,
|
|
1457
|
+
'bwr': _bwr_data,
|
|
1458
|
+
'cool': _cool_data,
|
|
1459
|
+
'coolwarm': _coolwarm_data,
|
|
1460
|
+
'copper': _copper_data,
|
|
1461
|
+
'cubehelix': _cubehelix_data,
|
|
1462
|
+
'flag': _flag_data,
|
|
1463
|
+
'gist_earth': _gist_earth_data,
|
|
1464
|
+
'gist_gray': _gist_gray_data,
|
|
1465
|
+
'gist_heat': _gist_heat_data,
|
|
1466
|
+
'gist_ncar': _gist_ncar_data,
|
|
1467
|
+
'gist_rainbow': _gist_rainbow_data,
|
|
1468
|
+
'gist_stern': _gist_stern_data,
|
|
1469
|
+
'gist_yarg': _gist_yarg_data,
|
|
1470
|
+
'gnuplot': _gnuplot_data,
|
|
1471
|
+
'gnuplot2': _gnuplot2_data,
|
|
1472
|
+
'gray': _gray_data,
|
|
1473
|
+
'hot': _hot_data,
|
|
1474
|
+
'hsv': _hsv_data,
|
|
1475
|
+
'jet': _jet_data,
|
|
1476
|
+
'nipy_spectral': _nipy_spectral_data,
|
|
1477
|
+
'ocean': _ocean_data,
|
|
1478
|
+
'pink': _pink_data,
|
|
1479
|
+
'prism': _prism_data,
|
|
1480
|
+
'rainbow': _rainbow_data,
|
|
1481
|
+
'seismic': _seismic_data,
|
|
1482
|
+
'spring': _spring_data,
|
|
1483
|
+
'summer': _summer_data,
|
|
1484
|
+
'terrain': _terrain_data,
|
|
1485
|
+
'winter': _winter_data,
|
|
1486
|
+
# Qualitative
|
|
1487
|
+
'Accent': {'listed': _Accent_data},
|
|
1488
|
+
'okabe_ito': {'listed': _okabe_ito_data},
|
|
1489
|
+
'Dark2': {'listed': _Dark2_data},
|
|
1490
|
+
'Paired': {'listed': _Paired_data},
|
|
1491
|
+
'Pastel1': {'listed': _Pastel1_data},
|
|
1492
|
+
'Pastel2': {'listed': _Pastel2_data},
|
|
1493
|
+
'Set1': {'listed': _Set1_data},
|
|
1494
|
+
'Set2': {'listed': _Set2_data},
|
|
1495
|
+
'Set3': {'listed': _Set3_data},
|
|
1496
|
+
'tab10': {'listed': _tab10_data},
|
|
1497
|
+
'tab20': {'listed': _tab20_data},
|
|
1498
|
+
'tab20b': {'listed': _tab20b_data},
|
|
1499
|
+
'tab20c': {'listed': _tab20c_data},
|
|
1500
|
+
}
|