Closed peter-doggart closed 1 year ago
There is a small bug that causes tfsim.visualization.projector to fail if bokeh 3.0.0 or above is installed. The error is:
tfsim.visualization.projector
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: https://github.com/bokeh/bokeh/issues/12543#issuecomment-1300970727
plot_width
plot_height
figure
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:
width
height
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.
There is a small bug that causes
tfsim.visualization.projector
to fail if bokeh 3.0.0 or above is installed. The error is:There was a breaking change in bokeh 3.0.0 major version which removed the
plot_width
andplot_height
attributes fromfigure
: https://github.com/bokeh/bokeh/issues/12543#issuecomment-1300970727plot_width
andplot_height
were just aliases forwidth
andheight
as far as I can see in the 2.x series, so I think the only change required is a small update here: