8000 changing errorbar test to cover "alpha" kwarg · matplotlib/matplotlib@a70108f · GitHub
[go: up one dir, main page]

Skip to content

Commit a70108f

Browse files
committed
changing errorbar test to cover "alpha" kwarg
1 parent ac4e0a0 commit a70108f

File tree

4 files changed

+170
-77
lines changed

4 files changed

+170
-77
lines changed
Binary file not shown.
Loading

lib/matplotlib/tests/baseline_images/test_axes/errorbar_mixed.svg

Lines changed: 168 additions & 75 deletions
Loading

lib/matplotlib/tests/test_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,8 +900,8 @@ def test_errorbar():
900900
ax.locator_params(nbins=4)
901901

902902
ax = axs[0,1]
903-
ax.errorbar(x, y, xerr=xerr, fmt='o')
904-
ax.set_title('Hor. symmetric')
903+
ax.errorbar(x, y, xerr=xerr, fmt='o', alpha=0.4)
904+
ax.set_title('Hor. symmetric w/ alpha')
905905

906906
ax = axs[1,0]
907907
ax.errorbar(x, y, yerr=[yerr, 2*yerr], xerr=[xerr, 2*xerr], fmt='--o')

0 commit comments

Comments
 (0)
0