Skip to content

Commit 5da3a07

Browse files
authored
Update runtests.jl to test plotting missings
tests fix for JuliaPy#593
1 parent 343cec5 commit 5da3a07

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/runtests.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,10 @@ rgba = pycall(pycall(PyPlot.ScalarMappable, PyObject, cmap=c,
3737
0.8991926182237601 0.5144175317185697 0.4079200307574009 1.0
3838
0.9657054978854287 0.9672433679354094 0.9680891964628989 1.0
3939
0.4085351787773935 0.6687427912341408 0.8145328719723184 1.0
40-
0.0196078431372549 0.18823529411764706 0.3803921568627451 1.0 ]
40+
0.0196078431372549 0.18823529411764706 0.3803921568627451 1.0 ]
41+
42+
# test for plotting missings
43+
x = [missing, 1, 2, 3, 4]
44+
y = [1, 2, missing, 2, 3]
45+
ax = plot(x, y, marker=".")
46+
@test isa(ax[1], PyObject)

0 commit comments

Comments
 (0)