Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb6890b

Browse files
committed
Address comments.
1 parent 784e1d2 commit fb6890b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/users/next_whats_new/imshow_extent_units.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ can now be expressed with units.
1919

2020
ax.imshow(arr, origin='lower', extent=[1, 11, date_first, date_last])
2121

22-
locator = HourLocator(byhour=[0, 12, 24])
22+
# customize tick locations and labels
23+
locator = HourLocator(byhour=[0, 12])
2324
ax.yaxis.set_major_formatter(
2425
ConciseDateFormatter(
2526
locator, show_offset=False,

0 commit comments

Comments
 (0)