When I just copy the method syntax example, no data is rendered for me, the plot is empty and looks like this (I added the rowkeyword):
I was able to identify this part as the issue:
alt.X('bin_min:Q')
.bin(True)
.title('Maximum Daily Temperature (C)'),
If I replace this by
alt.X('bin_min:Q', bin='binned', title='Maximum Daily Temperature (C)'),
I get back the original plot that is shown in the "Attribute Syntax" example.
I don't know what happens here though. This seems to have something to do with the binning?
I believe that the "Method Syntax" version of the ridgeline plot example (https://altair-viz.github.io/gallery/ridgeline_plot.html) might be broken in two ways.
1) Facet usage
The code for the ridgeline plot example contains this part
But this renders the different facets as columns. This should be fixed to include the
row
keyword.2) Data not rendered
When I just copy the method syntax example, no data is rendered for me, the plot is empty and looks like this (I added the
row
keyword):I was able to identify this part as the issue:
If I replace this by
I get back the original plot that is shown in the "Attribute Syntax" example. I don't know what happens here though. This seems to have something to do with the binning?