Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d06e69 commit 78ea770Copy full SHA for 78ea770
2 files changed
CHANGELOG
@@ -1,3 +1,6 @@
1
+2008-03-20 Fixed a minor bug in ContourSet._process_linestyles when
2
+ len(linestyles)==Nlev - MM
3
+
4
2008-03-19 Changed ma import statements to "from numpy import ma";
5
this should work with past and future versions of
6
numpy, whereas "import numpy.ma as ma" will work only
lib/matplotlib/contour.py
@@ -713,7 +713,7 @@ def _process_linestyles(self):
713
else:
714
if cbook.is_string_like(linestyles):
715
tlinestyles = [linestyles] * Nlev
716
- elif cbook.iterable(linestyles) and len(linestyles) < Nlev:
+ elif cbook.iterable(linestyles) and len(linestyles) <= Nlev:
717
tlinestyles = list(linestyles) * int(npy.ceil(Nlev/len(linestyles)))
718
return tlinestyles
719
0 commit comments