Skip to content
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

Merged
merged 7 commits into from
Aug 21, 2018

Conversation

astafan8
Copy link
Contributor

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:

  • some code in plot_by_id
  • updates to example notebooks which call plot_by_id

Copy link
Collaborator

@jenshnielsen jenshnielsen left a 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

@@ -5,6 +5,7 @@
import matplotlib.pyplot as plt

import qcodes as qc
from qcodes import load_by_id
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, will fix

Copy link
Contributor

@WilliamHPNielsen WilliamHPNielsen left a 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.

@codecov
Copy link

codecov bot commented Aug 21, 2018

Codecov Report

Merging #1235 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1235   +/-   ##
=======================================
  Coverage   80.15%   80.15%           
=======================================
  Files          51       51           
  Lines        7053     7053           
=======================================
  Hits         5653     5653           
  Misses       1400     1400

@astafan8 astafan8 merged commit f138bee into microsoft:master Aug 21, 2018
@astafan8 astafan8 deleted the feature/add_label_to_plot_by_id branch August 21, 2018 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants