Skip to content

Commit 2dcd7fb

Browse files
authored
Merge pull request #10495 from matplotlib/auto-backport-of-pr-10473
Backport PR #10473 on branch v2.2.x
2 parents d0366da + fbc67f3 commit 2dcd7fb

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)