Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fb6890b

Browse filesBrowse files
committed
Address comments.
1 parent 784e1d2 commit fb6890b
Copy full SHA for fb6890b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎doc/users/next_whats_new/imshow_extent_units.rst

Copy file name to clipboardExpand all lines: doc/users/next_whats_new/imshow_extent_units.rst
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.