-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Qiskit:main' into degree_centrality_implementation
- Loading branch information
Showing
17 changed files
with
653 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
decorator==4.4.2 | ||
pillow<10.0.0;python_version<'3.13' | ||
pillow>=10.1 | ||
lxml==5.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed a bug introduced in version 0.15 where the edge colors specified as | ||
a list in calls to :func:`~rustworkx.visualization.mpl_draw` were not | ||
having their order respected. Instead, the order of the colors was | ||
being shuffled. This has been restored and now the behavior should | ||
match that of 0.14. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
features: | ||
- | | ||
Added a new function, :func:`~rustworkx.generators.karate_club_graph` that | ||
returns Zachary's Karate Club graph, commonly found in social network examples. | ||
.. jupyter-execute:: | ||
import rustworkx.generators | ||
from rustworkx.visualization import mpl_draw | ||
graph = rustworkx.generators.karate_club_graph() | ||
layout = rustworkx.circular_layout(graph) | ||
mpl_draw(graph, pos=layout) |
Oops, something went wrong.