-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Milestone
Description
The image plotted in classic style by test_axes.test_markevery_linear_scales_zoomed changed at 8356fc2. Self-contained example:
import matplotlib, matplotlib.pyplot as plt, numpy as np
def test_markevery_linear_scales_zoomed():
cases = [None,
8,
(30, 8),
[16, 24, 30], [0, -1],
slice(100, 200, 3),
0.1, 0.3, 1.5,
(0.0, 0.1), (0.45, 0.1)]
cols = 3
gs = matplotlib.gridspec.GridSpec(len(cases) // cols + 1, cols)
delta = 0.11
x = np.linspace(0, 10 - 2 * delta, 200) + delta
y = np.sin(x) + 1.0 + delta
for i, case in enumerate(cases):
row = (i // cols)
col = i % cols
plt.subplot(gs[row, col])
plt.title('markevery=%s' % str(case))
plt.plot(x, y, 'o', ls='-', ms=4, markevery=case)
plt.xlim((6, 6.7))
plt.ylim((1.1, 1.7))
matplotlib.style.use("classic")
test_markevery_linear_scales_zoomed()
plt.show()
As of 8356fc2:

As of its only parent, 077c72e:

Not sure why this was not caught by Travis.
numpy 1.11.0, Arch Linux.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels