Hi team,
I’m (finally!) trying to build some charts with Altair and I can’t quite get this to work… @meredydd what does vega_lite_1.vl_spec
refer to? Do I need an iFrame component?
Either way, when I call the make_chart
server function from client side code, I get the following error:
anvil.server.SerializationError: Cannot serialize return value from function. Cannot serialize <class 'altair.vegalite.v3.api.Chart'> object at msg['response']
I’m assuming that there are reasons it’s not simple to install altair on the client like plotly in the dashboard tutorial, however this pattern seems more appropriate to me for front-end (i.e. data visualisation) libraries.