fix grayscale image in pyplot
This commit is contained in:
parent
57da253fa8
commit
789a7fbb88
@ -667,7 +667,7 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series)
|
|||||||
end
|
end
|
||||||
handle = ax[:imshow](z;
|
handle = ax[:imshow](z;
|
||||||
zorder = series[:series_plotindex],
|
zorder = series[:series_plotindex],
|
||||||
cmap = py_colormap([:black, :white]),
|
cmap = py_colormap(cgrad([:black, :white])),
|
||||||
vmin = 0.0,
|
vmin = 0.0,
|
||||||
vmax = 1.0,
|
vmax = 1.0,
|
||||||
extent = (xmin, xmax, ymax, ymin)
|
extent = (xmin, xmax, ymax, ymin)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user