-
Notifications
You must be signed in to change notification settings - Fork 54
CLI options for controlling Cython extension compliation #567
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
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
|
||
import collections as _collections | ||
import networkx as _nx | ||
import matplotlib.pyplot as plt | ||
from math import ceil | ||
from pygsti.baseobjs import Label as _Label | ||
from pygsti.circuits.circuit import SeparatePOVMCircuit as _SeparatePOVMCircuit | ||
|
@@ -1208,6 +1207,8 @@ def _draw_graph(G, node_label_key='label', edge_label_key='promotion_cost', figu | |
An optional size specifier passed into the matplotlib figure | ||
constructor to set the plot size. | ||
""" | ||
import matplotlib.pyplot as plt | ||
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. Moved import that broke minimal install. Matplotlib is an optional dependency currently. |
||
|
||
plt.figure(figsize=figure_size) | ||
pos = _nx.nx_agraph.graphviz_layout(G, prog="dot", args="-Granksep=5 -Gnodesep=10") | ||
labels = _nx.get_node_attributes(G, node_label_key) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,13 +41,13 @@ keywords=[ | |
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Unix" | ||
] | ||
license = "Apache-2.0" | ||
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. Previous classifier was deprecated in favor of this. |
||
|
||
[project.optional-dependencies] | ||
diamond_norm = [ | ||
|
This file was deleted.
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.
This should fix #559