tfsim.visualization.projector fails with bokeh 3.0.0+
peter-doggart opened this issue · comments
There is a small bug that causes tfsim.visualization.projector
to fail if bokeh 3.0.0 or above is installed. The error is:
AttributeError: unexpected attribute 'plot_width' to figure, similar attributes are outer_width, width or min_width.
There was a breaking change in bokeh 3.0.0 major version which removed the plot_width
and plot_height
attributes from figure
: bokeh/bokeh#12543 (comment)
plot_width
and plot_height
were just aliases for width
and height
as far as I can see in the 2.x series, so I think the only change required is a small update here:
fig = figure(
tooltips=tooltips,
width=plot_size,
height=plot_size,
active_drag=active_drag,
active_scroll="wheel_zoom",
)
Hi Peter, this is fixed in the Development branch. Let me cherry pick the change and merge it into master.