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 45a5ab6 commit b72d3a6Copy full SHA for b72d3a6
2 files changed
CHANGELOG
@@ -1,3 +1,5 @@
1
+2008-11-24 Fix crash in log ticking. - MGD
2
+
3
2008-11-20 Added some static helper methods
4
BrokenHBarCollection.span_masked and
5
PolyCollection.fill_between_where for visualizing logical
lib/matplotlib/ticker.py
@@ -1037,7 +1037,7 @@ def __call__(self):
1037
1038
decades = np.arange(math.floor(vmin),
1039
math.ceil(vmax)+stride, stride)
1040
- if len(subs) > 1 or subs[0] != 1.0:
+ if len(subs) > 1 or (len(subs == 1) and subs[0] != 1.0):
1041
ticklocs = []
1042
for decadeStart in b**decades:
1043
ticklocs.extend( subs*decadeStart )
0 commit comments