revert pyplot heatmap change

This commit is contained in:
Thomas Breloff 2016-06-27 12:25:45 -04:00
parent 99fe4f615d
commit 4b276f977c
2 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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