Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit 9fbbbd0

Browse files
committed
Fix typo in chain_colors
1 parent 5dddc56 commit 9fbbbd0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Pegasus_Embedding_Video/double_plot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
import matplotlib
16+
matplotlib.use("agg")
1517
from matplotlib import pyplot as plt, colors as mpl_color
1618
import networkx as nx, dwave_networkx as dnx
1719

@@ -38,7 +40,7 @@ def double_plot(S, T, emb, filename, params):
3840

3941
dnx.draw_pegasus_embedding(T, emb, S,
4042
crosses = True,
41-
chain_colors = colors,
43+
chain_color = colors,
4244
ax = axes[1],
4345
**params[1])
4446

0 commit comments

Comments
 (0)