-
Notifications
You must be signed in to change notification settings - Fork 322
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
Feature / add label to plot_by_id #1235
Feature / add label to plot_by_id #1235
Conversation
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.
Looks good, just have a single inline comment
qcodes/dataset/plotting.py
Outdated
@@ -5,6 +5,7 @@ | |||
import matplotlib.pyplot as plt | |||
|
|||
import qcodes as qc | |||
from qcodes import load_by_id |
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 it's better to use the full path for imports within qcodes. Imports from the toplevel aliases easily lead to circular imports
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.
ok, will fix
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.
Looks good, will be helpful to people.
.. instead of using the kernel from the notebook's metadata. See explanations here: jupyter/nbconvert#515 (comment) https://nbconvert.readthedocs.io/en/5.x/execute_api.html#execution-arguments-traitlets
Codecov Report
@@ Coverage Diff @@
## master #1235 +/- ##
=======================================
Coverage 80.15% 80.15%
=======================================
Files 51 51
Lines 7053 7053
=======================================
Hits 5653 5653
Misses 1400 1400 |
One of the tiny requests from #1200 was to have a default title on plots created by
plot_by_id
. The title contains run id, experiment name, and sample name.Contents:
plot_by_id
plot_by_id