Skip to content Skip to sidebar Skip to footer
Showing posts with the label Altair

How To Add Prefix To Rsquared Extracted From Altair?

I'm adding the rSquared to a chart using the method outlined in this answer: r2 = alt.Chart(df)… Read more How To Add Prefix To Rsquared Extracted From Altair?

Altair - Unable To Get Tooltips For One Layer In A Line Chart

When I plot a layered chart consisting of two groups of lines, the tooltips in one layer do not sho… Read more Altair - Unable To Get Tooltips For One Layer In A Line Chart

Sorting A Chart Axis Based On The Dynamically Updated Axis Order In Another Chart

In this VegaLite spec the y-axis order of the bottom-most barplot is updated as the data of that pl… Read more Sorting A Chart Axis Based On The Dynamically Updated Axis Order In Another Chart

How To Correctly Shift The Baseline In An Area Plot To A Particular Y Location And Change The Fill Color Correspondingly, In Altair?

I wanted to be able to do something like this - NOTE: The horizontal line you see is NOT at y=0, b… Read more How To Correctly Shift The Baseline In An Area Plot To A Particular Y Location And Change The Fill Color Correspondingly, In Altair?

How Do You Set Axis FontSize In Altair?

I would like to increase the X-Axis (or Y-Axis for that matter) fontSize to 16 (or any value) in th… Read more How Do You Set Axis FontSize In Altair?