Hide grid lines and axes for hkl plots
This commit is contained in:
parent
06f89842d6
commit
f0488f5648
@ -532,6 +532,11 @@ def create():
|
||||
)
|
||||
plot.toolbar.logo = None
|
||||
|
||||
plot.xaxis.visible = False
|
||||
plot.xgrid.visible = False
|
||||
plot.yaxis.visible = False
|
||||
plot.ygrid.visible = False
|
||||
|
||||
grid_source = ColumnDataSource(dict(xs=[], ys=[]))
|
||||
plot.multi_line(source=grid_source, line_color="gray")
|
||||
|
||||
|
@ -372,6 +372,11 @@ class PlotHKL:
|
||||
)
|
||||
plot.toolbar.logo = None
|
||||
|
||||
plot.xaxis.visible = False
|
||||
plot.xgrid.visible = False
|
||||
plot.yaxis.visible = False
|
||||
plot.ygrid.visible = False
|
||||
|
||||
arrow1 = Arrow(
|
||||
x_start=0, y_start=0, x_end=0, y_end=0, end=NormalHead(size=10), visible=False
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user