Skip to content

Commit

Permalink
fix(plot): fixing ploting functionality with newer version of bokeh. fix
Browse files Browse the repository at this point in the history
  • Loading branch information
notthetup authored and mchitre committed Sep 21, 2023
1 parent b6427cf commit cddcbdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arlpy/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def _new_figure(title, width, height, xlabel, ylabel, xlim, ylim, xtype, ytype,
interactive = _interactive
if interactive:
tools = 'pan,box_zoom,wheel_zoom,reset,save'
f = _bplt.figure(title=title, width=width, height=height, x_range=xlim, y_range=ylim, x_axis_label=xlabel, y_axis_label=ylabel, x_axis_type=xtype, y_axis_type=ytype, tools=tools)
args = dict(title=title, width=width, height=height, x_range=xlim, y_range=ylim, x_axis_label=xlabel, y_axis_label=ylabel, x_axis_type=xtype, y_axis_type=ytype, tools=tools)
f = _bplt.figure(**{k:v for (k,v) in args.items() if v is not None})
f.toolbar.logo = None
return f

Expand Down

0 comments on commit cddcbdc

Please sign in to comment.