revert pyplot heatmap change
This commit is contained in:
parent
99fe4f615d
commit
4b276f977c
@ -805,14 +805,14 @@ function py_add_series(plt::Plot{PyPlotBackend}, series::Series)
|
||||
push!(handles, handle)
|
||||
needs_colorbar = true
|
||||
|
||||
# # TODO: this should probably be handled generically
|
||||
# # expand extrema... handle is a QuadMesh object
|
||||
# for path in handle[:properties]()["paths"]
|
||||
# verts = path[:vertices]
|
||||
# xmin, ymin = minimum(verts, 1)
|
||||
# xmax, ymax = maximum(verts, 1)
|
||||
# expand_extrema!(sp, xmin, xmax, ymin, ymax)
|
||||
# end
|
||||
# TODO: this should probably be handled generically
|
||||
# expand extrema... handle is a QuadMesh object
|
||||
for path in handle[:properties]()["paths"]
|
||||
verts = path[:vertices]
|
||||
xmin, ymin = minimum(verts, 1)
|
||||
xmax, ymax = maximum(verts, 1)
|
||||
expand_extrema!(sp, xmin, xmax, ymin, ymax)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ facts("GR") do
|
||||
@fact gr() --> Plots.GRBackend()
|
||||
@fact backend() --> Plots.GRBackend()
|
||||
|
||||
# image_comparison_facts(:gr, skip=[30], eps=img_eps)
|
||||
# @linux_only image_comparison_facts(:gr, skip=[], eps=img_eps)
|
||||
end
|
||||
|
||||
facts("Plotly") do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user