Skip to content

Commit fbc67f3

Browse files
dstansbyMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #10473: DOC: Expending a bit about the "tableau-colorblind10" entry in What's new
1 parent d0366da commit fbc67f3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

doc/users/whats_new.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,14 @@ New style colorblind-friendly color cycle
161161

162162
A new style defining a color cycle has been added,
163163
tableau-colorblind10, to provide another option for
164-
colorblind-friendly plots.
164+
colorblind-friendly plots. A demonstration of this new
165+
style can be found in the reference_ of style sheets. To
166+
load this color cycle in place of the default one::
167+
168+
import matplotlib.pyplot as plt
169+
plt.style.use('tableau-colorblind10')
170+
171+
.. _reference: https://matplotlib.org/gallery/style_sheets/style_sheets_reference.html
165172

166173

167174
Support for numpy.datetime64

0 commit comments

Comments
 (0)