Skip to content

new tutorial on displaying image data #163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Nov 12, 2019
Prev Previous commit
Next Next commit
updated how to disable ticks
  • Loading branch information
emmanuelle authored and nicolaskruchten committed Nov 12, 2019
commit 9d01e297c9c89fc3444e9c8375f10de24c238155
3 changes: 2 additions & 1 deletion python/imshow.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ fig.show()
import plotly.express as px
from skimage import data
img = data.astronaut()
fig = px.imshow(img, showticks=False)
fig = px.imshow(img)
fig.update_layout(width=400, height=400, margin=dict(l=10, r=10, b=10, t=10))
fig.update_xaxes(showticklabels=False).update_yaxes(showticklabels=False)
fig.show()
```

Expand Down