Skip to content

draw_pegasus: Overlapping Plots No Longer Render Correctly #255

@iamashwin99

Description

@iamashwin99

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
Copied from the documentation

Current behaviour

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions