-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC MEP12: pie/polar and color examples + style sheets fix #7900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -1,4 +1,8 @@ | |||
""" | |||
====================================== | |||
Colors in the default property cycle | |||
====================================== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be the same length as text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It actually can be longer, but not shorter than the text, so this will compile fine.
@@ -81,7 +85,10 @@ def plot_color_gradients(cmap_category, cmap_list): | |||
for ax in axes: | |||
ax.set_axis_off() | |||
|
|||
return axes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not used for anything; why bother?
import matplotlib.pyplot as plt | ||
from matplotlib import colors as mcolors | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't remove; two blank lines after imports.
063ec43
to
5dc27fb
Compare
@@ -13,7 +17,7 @@ | |||
thick = lwbase * 3 | |||
|
|||
fig, axs = plt.subplots(nrows=2, ncols=2, sharex=True, sharey=True) | |||
for icol in range(2): | |||
for icol in np.arange(2): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be changed.
5dc27fb
to
cfb368a
Compare
Current coverage is 62.17% (diff: 100%)@@ master #7900 diff @@
==========================================
Files 174 174
Lines 56121 56121
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 34893 34896 +3
+ Misses 21228 21225 -3
Partials 0 0
|
cfb368a
to
eecad0e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @naoyak |
Backported to |
DOC MEP12: pie/polar and color examples + style sheets fix
Ref: #7206
Also some small changes from #7890 which didn't make it in before merge