You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/colormaps.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
"raw_mimetype": "text/restructuredtext"
14
14
},
15
15
"source": [
16
-
"**Colormaps** are palettes constructed by sampling some *continuous function* between two end colors. Colormaps are generally used to encode data values on a pseudo-third dimension. They are are implemented with the `~proplot.styletools.LinearSegmentedColormap` and `~proplot.styletools.PerceptuallyUniformColormap` classes, which are subclassed from `~matplotlib.colors.LinearSegmentedColormap` in matplotlib (see :ref:`Making new colormaps`).\n",
16
+
"ProPlot defines **colormaps** as color palettes that sample some *continuous function* between two end colors. Colormaps are generally used to encode data values on a pseudo-third dimension. They are are implemented with the `~proplot.styletools.LinearSegmentedColormap` and `~proplot.styletools.PerceptuallyUniformColormap` classes, which are subclassed from `~matplotlib.colors.LinearSegmentedColormap` in matplotlib (see :ref:`Making new colormaps`).\n",
17
17
"\n",
18
18
"ProPlot adds several features to help you use colormaps effectively in your figures. This section documents the new registered colormaps, explains how to make and modify colormaps, and shows how to apply them to your plots."
Copy file name to clipboardExpand all lines: docs/colors_fonts.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -130,9 +130,9 @@
130
130
"raw_mimetype": "text/restructuredtext"
131
131
},
132
132
"source": [
133
-
"ProPlot adds several open source sans-serif fonts and introduces a `~proplot.styletools.show_fonts` command to display the available sans-serif fonts on your system (see `~matplotlib.font_manager`). Generally speaking, simple, clean sans-serif fonts are more appropriate for figures than serif fonts.\n",
133
+
"ProPlot adds several open source fonts, including the `TeX Gyre <http://www.gust.org.pl/projects/e-foundry/tex-gyre>`__ font series, and introduces a `~proplot.styletools.show_fonts` command to compare fonts. By default, this command displays the *sans-serif* fonts packaged with ProPlot and available on your system (see `~matplotlib.font_manager`). Generally speaking, sans-serif fonts are more appropriate for figures than serif fonts.\n",
134
134
"\n",
135
-
"ProPlot also changes the default font to the Helvetica-lookalike TeX Gyre Heros. Matplotlib uses DejaVu Sans by default because DejaVu Sans is open source, can be *included* in the matplotlib distribution, and includes glyphs for a wider range of mathematical characters (where you see the \"¤\" dummy symbol in the below table, that character is unavailable). However Helvetica and Arial are much more mature and (in this developer's humble opinion) aesthetically pleasing. Thus, while ProPlot prioritizes aesthetics, you may need to switch to a font with more math characters like DejaVu Sans or Fira Math."
135
+
"ProPlot also changes the default font to the Helvetica-lookalike `TeX Gyre Heros <http://www.gust.org.pl/projects/e-foundry/tex-gyre/heros/index_html>`__. Matplotlib uses `DejaVu Sans <https://dejavu-fonts.github.io>`__ in part because it includes glyphs for a wider range of mathematical symbols (where you see the “¤” dummy symbol in the below table, that character is unavailable), but IMHO TeX Gyre Heros is much more aesthetically pleasing. If your plot has lots of symbols, you may want to switch to DejaVu Sans or `Fira Math <https://github.com/firamath/firamath>`__ (which is also packaged with ProPlot)."
Copy file name to clipboardExpand all lines: docs/cycles.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
"raw_mimetype": "text/restructuredtext"
14
14
},
15
15
"source": [
16
-
"**Color cycles** are palettes composed of a *jumbled set* of distinct colors. Unlike :ref:`Colormaps`, interpolation between these colors does not make sense. Color cycles are generally used with line plots, bar plots, and other plot elements. They are conceptually implemented in matplotlib with the `~matplotlib.colors.ListedColormap` class (although it is often improperly used). ProPlot uses this class to register color cycles, and the color cycles are \"applied\"by globally or locally modifying the `property cycler <https://matplotlib.org/3.1.0/tutorials/intermediate/color_cycle.html>`__. :ref:`Colormaps` can also be cut up and used as color cycles (see :ref:`Making new color cycles`).\n",
16
+
"ProPlot defines **color cycles** as color palettes comprising sets of *distinct colors*. Unlike :ref:`colormaps <Colormaps>`, interpolation between these colors may not make sense. Color cycles are generally used with bar plots, line plots, and other distinct plot elements. ProPlot uses the `~proplot.styletools.ListedColormap` class to *name* color cycles, then applies them to plots by updating `the property cycler <https://matplotlib.org/3.1.0/tutorials/intermediate/color_cycle.html>`__. Color cycles can also be made by sampling colormaps (see :ref:`Making new color cycles`).\n",
17
17
"\n",
18
18
"ProPlot adds several features to help you use color cycles effectively in your figures. This section documents the new registered color cycles, explains how to make and modify colormaps, and shows how to apply them to your plots."
0 commit comments