Skip to content

Commit

Permalink
Add colour picker in save dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
jobar8 committed Oct 21, 2024
1 parent 95b6ba4 commit 192a74a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/attractor_explorer/attractors_explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,12 @@ def _save(self):
print(msg) # noqa: T201

def __panel__(self):
return pn.Param(self)
return pn.Param(
self,
widgets={
'background_color': {'widget_type': pn.widgets.ColorPicker(name='Background Colour', value='#000000')}
},
)


image_saver = ImageSaver(name='Choose settings for the export:')
Expand Down

0 comments on commit 192a74a

Please sign in to comment.