PyPlot fix contour labels (#2668)

This commit is contained in:
isentropic 2020-05-05 17:25:12 +09:00 committed by GitHub
parent 44367c54da
commit e90ab0b898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -643,7 +643,7 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series)
extrakw... extrakw...
) )
if series[:contour_labels] == true if series[:contour_labels] == true
PyPlot."clabel"(handle, handle.levels) ax."clabel"(handle, handle.levels)
end end
push!(handles, handle) push!(handles, handle)