finalize d -> plotattributes
This commit is contained in:
parent
7ae4fae68c
commit
c471d1e4c3
@ -1144,11 +1144,11 @@ function _display(plt::Plot{GLVisualizeBackend}, visible = true)
|
|||||||
vis = gl_boxplot(plotattributes, kw_args)
|
vis = gl_boxplot(plotattributes, kw_args)
|
||||||
elseif st == :volume
|
elseif st == :volume
|
||||||
volume = plotattributes[:y]
|
volume = plotattributes[:y]
|
||||||
_d = copy(plotattributes)
|
_plotattributes = copy(plotattributes)
|
||||||
_d[:y] = 0:1
|
_plotattributes[:y] = 0:1
|
||||||
_d[:x] = 0:1
|
_plotattributes[:x] = 0:1
|
||||||
kw_args = KW()
|
kw_args = KW()
|
||||||
extract_gradient(_d, kw_args, :fill)
|
extract_gradient(_plotattributes, kw_args, :fill)
|
||||||
vis = visualize(volume.v, Style(:default), kw_args)
|
vis = visualize(volume.v, Style(:default), kw_args)
|
||||||
else
|
else
|
||||||
error("failed to display plot type $st")
|
error("failed to display plot type $st")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user