Skip to content

Commit

Permalink
Update example plots
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson committed Nov 27, 2024
1 parent 071fc00 commit e89f896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/plot_qrf_huggingface_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def plot_quantiles_by_latlon(df, quantiles, color_scheme="lightgreyred"):
alt.Chart(df)
.add_params(quantile_val)
.transform_calculate(quantile_col="'q_' + quantile")
.transform_calculate(value=f"datum[datum.quantile_col]")
.transform_calculate(value="datum[datum.quantile_col]")
.mark_geoshape(stroke="black", strokeWidth=0.5)
.encode(
color=alt.Color(
Expand Down

0 comments on commit e89f896

Please sign in to comment.