New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 1504: changed how draw
handles alpha in markerfacecolor
#1505
Changes from 4 commits
0c20b5c
639034d
50f2ca6
7f3e0ee
dcdbc5a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -962,6 +962,7 @@ def test_transparent_markers(): | |
ax = fig.add_subplot(111) | ||
ax.plot(data, 'D', mfc='none', markersize=100) | ||
|
||
|
||
@cleanup | ||
def test_mollweide_forward_inverse_closure(): | ||
# test that the round-trip Mollweide forward->inverse transformation is an | ||
|
@@ -1005,6 +1006,19 @@ def test_mollweide_inverse_forward_closure(): | |
# compare | ||
np.testing.assert_array_almost_equal(xy, xy2, 3) | ||
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PEP8 nitpick: there should 2 blank lines and not 3 here |
||
|
||
@image_comparison(baseline_images=['translucent_markers'], remove_text=True) | ||
def test_translucent_markers(): | ||
np.random.seed(0) | ||
data = np.random.random(50) | ||
|
||
fig = plt.figure() | ||
ax = fig.add_subplot(111) | ||
ax.plot(data, 'D', mfc=[1,0,0,.5], markersize=100) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PEP8 nitpick: there should be spaces after |
||
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (2 blank lines except of 3) |
||
|
||
if __name__=='__main__': | ||
import nose | ||
nose.runmodule(argv=['-s','--with-doctest'], exit=False) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PEP8 nitpick: there should be spaces around
==