JSS
JSS2mo ago

Version 0.10.6 causes hv.scatter (holoviews) plots to fail.

I found my code would not generate any plots after upgrading and gave this error: ''scatter' object has no attribue '_render_model' This was the case for even the basic example from the reference docs: https://hvplot.holoviz.org/reference/tabular/scatter.html
import hvplot.pandas

from bokeh.sampledata.iris import flowers as df

df.sample(n=5)

df.hvplot.scatter(x='sepal_length', y='sepal_width', by='species', legend='top', height=400, width=400)
import hvplot.pandas

from bokeh.sampledata.iris import flowers as df

df.sample(n=5)

df.hvplot.scatter(x='sepal_length', y='sepal_width', by='species', legend='top', height=400, width=400)
Downgrading to 0.10.5 resolves this for me.
2 Replies
Hall
Hall2mo ago
Someone will reply to you shortly. In the meantime, this might help:
Myles Scolnick
Thanks for the heads up. i have a fix incoming for the next release: https://github.com/marimo-team/marimo/pull/3361
GitHub
fix: rendering with panel when not a native panel object by mscolni...
Issue from discord: https://discord.com/channels/1059888774789730424/1319756390759141429/1319756390759141429 The issue was: - ref, docs_json, render_json = render_component(obj) + ref, docs_json, r...

Did you find this page helpful?