8000
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 da9e5d5 commit 5c11d2cCopy full SHA for 5c11d2c
examples/api/skewt.py
@@ -146,7 +146,8 @@ def upper_xlim(self):
146
147
if __name__ == '__main__':
148
# Now make a simple example using the custom projection.
149
- from matplotlib.ticker import ScalarFormatter, MultipleLocator
+ from matplotlib.ticker import (MultipleLocator, NullFormatter,
150
+ ScalarFormatter)
151
import matplotlib.pyplot as plt
152
from six import StringIO
153
import numpy as np
@@ -248,6 +249,7 @@ def upper_xlim(self):
248
249
250
# Disables the log-formatting that comes with semilogy
251
ax.yaxis.set_major_formatter(ScalarFormatter())
252
+ ax.yaxis.set_minor_formatter(NullFormatter())
253
ax.set_yticks(np.linspace(100, 1000, 10))
254
ax.set_ylim(1050, 100)
255
0 commit comments