Skip to content

Commit 861daf2

Browse files
committed
more tests
1 parent d9d9a72 commit 861daf2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/test_plotting.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ using Test
44

55
plt.ioff()
66
@testset "Plotting" begin
7-
fig = plt.plot([1,2,3])
8-
@test fig isa Vector{plt.PyObject}
7+
fig = plt.figure(figsize=(14, 14))
8+
res = plt.plot([1,2,3])
9+
@test fig isa plt.PyPlot.Figure
10+
@test res isa Vector{plt.PyObject}
11+
@test isfile("/tmp/plot.pdf")
12+
rm("/tmp/plot.pdf")
913
show_plot(fig)
14+
save_plot(fig, "/tmp", "plot")
1015
end
1116
plt.ion()

0 commit comments

Comments
 (0)