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 e0acd64

Browse filesBrowse files
authored
forgot a callback (#336)
* add polygon button to gridplot toolbar * forgot to add callback
1 parent 55c9896 commit e0acd64
Copy full SHA for e0acd64

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎fastplotlib/layouts/_gridplot.py

Copy file name to clipboardExpand all lines: fastplotlib/layouts/_gridplot.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ def __init__(self, plot: GridPlot):
529529
self.center_scene_button.on_click(self.center_scene)
530530
self.maintain_aspect_button.observe(self.maintain_aspect, "value")
531531
self.flip_camera_button.on_click(self.flip_camera)
532+
self.add_polygon_button.on_click(self.add_polygon)
532533
self.record_button.observe(self.record_plot, "value")
533534

534535
self.plot.renderer.add_event_handler(self.update_current_subplot, "click")

0 commit comments

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