-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop Python 3.9 and make Ruff happy #341
Changes from all commits
20f692f
e9b2af0
766dea2
695be66
72ef157
a4fe3fb
8d5060d
3feae9b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.9 | ||
3.10 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,7 @@ | |
"source": [ | ||
"%matplotlib widget\n", | ||
"import plopp as pp\n", | ||
"import scipp as sc\n", | ||
"import numpy as np" | ||
"import scipp as sc" | ||
] | ||
}, | ||
{ | ||
|
@@ -170,8 +169,6 @@ | |
}, | ||
"outputs": [], | ||
"source": [ | ||
"from plopp.widgets import Box\n", | ||
"\n", | ||
"data_node = pp.Node(da)\n", | ||
"\n", | ||
"\n", | ||
|
@@ -195,7 +192,7 @@ | |
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "fcf38064-eafe-407e-818c-e3516bd33195", | ||
"id": "c3c1343d-845b-4a1f-9f28-978837169aa1", | ||
"metadata": { | ||
"editable": true, | ||
"nbsphinx": "hidden", | ||
|
@@ -206,15 +203,15 @@ | |
}, | ||
"outputs": [], | ||
"source": [ | ||
"from ipywidgets import HBox\n", | ||
"\n", | ||
"r.value = True\n", | ||
"\n", | ||
"r._tool.click(50, 200)\n", | ||
"r._tool.click(200, 250)\n", | ||
"r._tool.click(30, 50)\n", | ||
"r._tool.click(250, 170)\n", | ||
"\n", | ||
"from ipywidgets import HBox\n", | ||
"\n", | ||
"fig.children = [\n", | ||
" fig.top_bar,\n", | ||
" HBox([fig.left_bar, fig.canvas.to_image(), fig.right_bar]),\n", | ||
|
@@ -320,7 +317,8 @@ | |
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3" | ||
"pygments_lexer": "ipython3", | ||
"version": "3.10.14" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if we can get There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You could open an issue to ask them to add this feature. |
||
} | ||
}, | ||
"nbformat": 4, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you also need to bump the python version for the scipp wheel in the
nightly.txt
requirement.