Merge 6c76745f323c699df4369e7c2724ab3bfc386118 into c15483d5937492a04e6fb060e49f2d20b3b9c8dc

This commit is contained in:
Jerry Ling 2020-10-13 19:54:17 -04:00 committed by GitHub
commit 4bf0a71334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -354,6 +354,7 @@ const _gr_seriestype = [
:wireframe,
:volume,
:shape,
:hexbin,
]
const _gr_style = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
const _gr_marker = _allMarkers

View File

@ -1543,6 +1543,8 @@ function gr_add_series(sp, series)
else
gr_draw_image(series, x, y, z, clims)
end
elseif st == :hexbin
gr_draw_hexbin(series, x, y)
end
# this is all we need to add the series_annotations text
@ -1757,6 +1759,9 @@ function gr_draw_image(series, x, y, z, clims)
GR.drawimage(xmin, xmax, ymax, ymin, w, h, rgba)
end
function gr_draw_hexbin(series, x, y)
GR.hexbin(x, y)
end
# ----------------------------------------------------------------