You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a complex altair chart in streamlit, worked in 5.3.0, and broke with 5.4.0 and then 5.4.1.
It seems to be an altair issue: TypeError: FacetedEncoding.init() got multiple values for argument 'self'
I tried to reproduce the error with the plot code and anonymized example data.
The error didn't show up neither with altair alone nor streamlit+altair.
However, it might give you an idea of the plot I use. The error happens in the first call to .encode in the fonction .mark_bar.encode()
Using a complex altair chart in streamlit, worked in 5.3.0, and broke with 5.4.0 and then 5.4.1. It seems to be an altair issue: TypeError: FacetedEncoding.init() got multiple values for argument 'self'
I tried to reproduce the error with the plot code and anonymized example data. The error didn't show up neither with altair alone nor streamlit+altair.
@gaspardc-met could you provide the traceback please?
I'm unsure what FacetedEncoding.init() is referring to, as that isn't a method on alt.FacetedEncoding:
What happened?
Using a complex altair chart in streamlit, worked in 5.3.0, and broke with 5.4.0 and then 5.4.1.
It seems to be an altair issue:
TypeError: FacetedEncoding.init() got multiple values for argument 'self'
I tried to reproduce the error with the plot code and anonymized example data.
The error didn't show up neither with altair alone nor streamlit+altair.
However, it might give you an idea of the plot I use. The error happens in the first call to
.encode
in the fonction.mark_bar.encode()
Long Code Block
What would you like to happen instead?
No response
Which version of Altair are you using?
altair: 5.4.1
python: 3.11
The text was updated successfully, but these errors were encountered: