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 e5cbc2d

Browse filesBrowse files
committed
black
1 parent b88cf56 commit e5cbc2d
Copy full SHA for e5cbc2d

1 file changed

+3-1Lines changed: 3 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎fastplotlib/ui/right_click_menus/_standard_menu.py‎

Copy file name to clipboardExpand all lines: fastplotlib/ui/right_click_menus/_standard_menu.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ def update(self):
9898
# toggles to flip axes cameras
9999
for axis in ["x", "y", "z"]:
100100
scale = getattr(self.get_subplot().camera.local, f"scale_{axis}")
101-
changed, flip = imgui.menu_item(f"Flip {axis} axis", "", bool(scale < 0))
101+
changed, flip = imgui.menu_item(
102+
f"Flip {axis} axis", "", bool(scale < 0)
103+
)
102104

103105
if changed:
104106
flip_axis(self.get_subplot(), axis, flip)

0 commit comments

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