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 0077f89 commit cc633ddCopy full SHA for cc633dd
src/PythonPlot.jl
@@ -190,7 +190,7 @@ Base.close(f::Figure) = plotclose(f)
190
191
# rename to avoid type piracy:
192
@doc LazyHelp(pyplot,"close") plotclose() = pyplot.close()
193
-plotclose(f::Figure) = pyconvert(Int, plotclose(f.number))
+plotclose(f::Figure) = pyconvert(Int, plotclose(pyconvert(Int, f.number)))
194
function plotclose(f::Integer)
195
pop!(withfig_fignums, f, f)
196
pyplot.close(f)
0 commit comments