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 3d755e4

Browse filesBrowse files
committed
Use | instead of Union
1 parent ba1fa76 commit 3d755e4
Copy full SHA for 3d755e4

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎fastplotlib/graphics/selectors/_base_selector.py

Copy file name to clipboardExpand all lines: fastplotlib/graphics/selectors/_base_selector.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ class MoveInfo:
2020
start_selection: Any
2121

2222
# The initial world position of the cursor
23-
start_position: Union[np.ndarray, None]
23+
start_position: np.ndarray | None
2424

2525
# Delta position in world coordinates
2626
delta: np.ndarray
2727

2828
# WorldObject or "key" event
29-
source: Union[WorldObject, str]
29+
source: WorldObject | str
3030

3131

3232
# key bindings used to move the selector

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.