We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9d9a72 commit 861daf2Copy full SHA for 861daf2
test/test_plotting.jl
@@ -4,8 +4,13 @@ using Test
4
5
plt.ioff()
6
@testset "Plotting" begin
7
- fig = plt.plot([1,2,3])
8
- @test fig isa Vector{plt.PyObject}
+ fig = plt.figure(figsize=(14, 14))
+ 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")
13
show_plot(fig)
14
+ save_plot(fig, "/tmp", "plot")
15
end
16
plt.ion()
0 commit comments