Skip to content

Navigation Menu

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 80ef632

Browse filesBrowse files
committed
map_screen_to_world can return None
1 parent beacf81 commit 80ef632
Copy full SHA for 80ef632

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎fastplotlib/layouts/_plot_area.py

Copy file name to clipboardExpand all lines: fastplotlib/layouts/_plot_area.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def get_rect(self) -> tuple[float, float, float, float]:
299299

300300
def map_screen_to_world(
301301
self, pos: tuple[float, float] | pygfx.PointerEvent
302-
) -> np.ndarray:
302+
) -> np.ndarray | None:
303303
"""
304304
Map screen position to world position
305305

0 commit comments

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