fix grayscale image in pyplot

This commit is contained in:
Daniel Schwabeneder 2019-01-22 13:00:56 +01:00
parent 57da253fa8
commit 789a7fbb88

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)