-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Milestone
Description
Using this example:
#!/usr/bin/env python3
from distutils.version import LooseVersion
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
if LooseVersion(mpl.__version__) >= LooseVersion('2.0.0'):
plt.style.use('classic')
fig, ax = plt.subplots()
ax.semilogy([-1/2, -1], [1, 2], 'k')
ax.set_xlim(-1, 0)
ax.set_ylim(10**0, 10**1)
ax.set_title(mpl.__version__)
plt.show()the result with 1.5.3 is:

and with 2.0.0rc1:

The subtick labels remain visible even when using the classic style.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels