Merge pull request #1899 from daschw/pyplot-image

fix grayscale image in pyplot
This commit is contained in:
Daniel Schwabeneder
2019-01-22 13:55:43 +01:00
committed by GitHub
+1 -1
View File
@@ -667,7 +667,7 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series)
end
handle = ax[:imshow](z;
zorder = series[:series_plotindex],
cmap = py_colormap([:black, :white]),
cmap = py_colormap(cgrad([:black, :white])),
vmin = 0.0,
vmax = 1.0,
extent = (xmin, xmax, ymax, ymin)