Skip to content

Commit 4c88a6d

Browse files
Phil Elsonpelson
Phil Elson
authored andcommitted
Moved scatter test into test_axes.py
1 parent bf4dd97 commit 4c88a6d

File tree

5 files changed

+8
-15
lines changed

5 files changed

+8
-15
lines changed

lib/matplotlib/tests/test_axes.py

+8
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ def test_marker_edges():
650650
ax.set_xticks([])
651651
ax.set_yticks([])
652652

653+
<<<<<<< HEAD
653654
@image_comparison(baseline_images=['hist_log'])
654655
def test_hist_log():
655656
data0 = np.linspace(0,1,200)**3
@@ -697,6 +698,13 @@ def test_hist2d_transpose():
697698
ax = fig.add_subplot(111)
698699
ax.hist2d(x,y,bins=10)
699700

701+
702+
@image_comparison(baseline_images=['scatter'])
703+
def test_scatter_plot():
704+
ax = plt.axes()
705+
ax.scatter([3, 4, 2, 6], [2, 5, 2, 3], c=['r', 'y', 'b', 'lime'], s=[24, 15, 19, 29])
706+
707+
700708
if __name__=='__main__':
701709
import nose
702710
nose.runmodule(argv=['-s','--with-doctest'], exit=False)

lib/matplotlib/tests/test_plot_types.py

-15
This file was deleted.

0 commit comments

Comments
 (0)