dwavesystems / dwavesystems/dwave-graphs

draw_pegasus: Overlapping Plots No Longer Render Correctly

Open
#255 8 comments 0 reactions 0 assignees View on GitHub
bug/fix
Dominant language
Python
Stars
95
Forks
62
Avg merge
7d 18h
Merged PRs (30d)
1

Description

**Description**
Previously, it was possible to plot two graphs on top of each other (e.g., using dnx.draw_pegasus() sequentially) and achieve a combined visualisation. This no longer appears to work. Instead, only one of the plots might be visible, or they are not overlaid as expected, as demonstrated in the attached images.

**To Reproduce**
Run the code from the documentation here https://docs.dwavequantum.com/en/latest/ocean/api_ref_dnx/drawing.html#id1

**Expected behaviour**

![Image](https://github.com/user-attachments/assets/1e2b7ccc-954b-47e7-bcba-39b334fba6cf)
Copied from the documentation

**Current behaviour**

![Image](https://github.com/user-attachments/assets/6a7d74f3-c139-4d87-b683-780e941001c9)

**Environment:**
- OS: [Fedora 41]
- Python version: [3.11.2]
- Dependencies:
```
dwave-cloud-client==0.13.2
dwave-inspector==0.5.4
dwave-networkx==0.8.16
dwave-optimization==0.4.3
dwave-preprocessing==0.6.7
dwave-samplers==1.4.0
dwave-system==1.28.0
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.