Merge pull request #2226 from nlw0/nlw0-patch-1
Image extent half-pixel margin in pyplot
This commit is contained in:
commit
978f00bbb9
@ -756,7 +756,7 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series)
|
|||||||
cmap = py_colormap(cgrad([: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-0.5, xmax+0.5, ymax+0.5, ymin-0.5)
|
||||||
)
|
)
|
||||||
push!(handles, handle)
|
push!(handles, handle)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user