Skip to content

Commit 9d01e29

Browse files
emmanuellenicolaskruchten
authored andcommitted
updated how to disable ticks
1 parent cc59b3c commit 9d01e29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/imshow.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,9 @@ fig.show()
149149
import plotly.express as px
150150
from skimage import data
151151
img = data.astronaut()
152-
fig = px.imshow(img, showticks=False)
152+
fig = px.imshow(img)
153153
fig.update_layout(width=400, height=400, margin=dict(l=10, r=10, b=10, t=10))
154+
fig.update_xaxes(showticklabels=False).update_yaxes(showticklabels=False)
154155
fig.show()
155156
```
156157

0 commit comments

Comments
 (0)