Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
fixed visualizations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike McCarty committed Aug 28, 2018
1 parent 2a1fec4 commit 178b43f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/topics/landsat_spectral_clustering.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"outputs": [],
"source": [
"%%opts Image (cmap='viridis')\n",
"regrid(hv.Image(xa.T))"
"regrid(hv.Image(xa, kdims=['x', 'y'])).options(invert_yaxis=True)"
]
},
{
Expand Down Expand Up @@ -202,8 +202,8 @@
"metadata": {},
"outputs": [],
"source": [
"%%opts Image (cmap='viridis')\n",
"hv.Image(xa).relabel('Image') + hv.Image(output).relabel('Clustered')"
"%%opts Image (cmap='viridis') [invert_yaxis=True]\n",
"hv.Image(xa, kdims=['x', 'y']).relabel('Image') + hv.Image(output, kdims=['x', 'y']).relabel('Clustered')"
]
},
{
Expand Down

0 comments on commit 178b43f

Please sign in to comment.