Skip to content

Commit

Permalink
reintroduce colorbars in the matplotlib guide (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt committed Dec 21, 2023
1 parent cde75e9 commit 89dd0c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/user_guide/Plotting_with_Matplotlib.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"metadata": {},
"outputs": [],
"source": [
"crime.hvplot.scatter(x='Violent Crime rate', y='Burglary rate')"
"crime.hvplot.scatter(x='Violent Crime rate', y='Burglary rate', c='Year')"
]
},
{
Expand Down Expand Up @@ -365,7 +365,7 @@
"metadata": {},
"outputs": [],
"source": [
"crime.hvplot.bivariate(x='Violent Crime rate', y='Burglary rate', width=600, height=500, colorbar=False)"
"crime.hvplot.bivariate(x='Violent Crime rate', y='Burglary rate', width=600, height=500)"
]
},
{
Expand All @@ -383,7 +383,7 @@
"metadata": {},
"outputs": [],
"source": [
"flights.compute().hvplot.heatmap(x='day', y='carrier', C='depdelay', reduce_function=np.mean, colorbar=False).opts(show_values=False)"
"flights.compute().hvplot.heatmap(x='day', y='carrier', C='depdelay', reduce_function=np.mean).opts(show_values=False)"
]
},
{
Expand Down

0 comments on commit 89dd0c0

Please sign in to comment.