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
Graph plot default options before first call to plot() fail #19451
Comments
comment:1
So the bug is that you have to import the module first? The reason why the second call works is that Nathann |
This comment has been minimized.
This comment has been minimized.
comment:3
Hmmmmm.. I think that the DEFAULT_SHOW_OPTIONS dictionary actually gives its data to GraphPlot.show, and not to GenericGraph.show. Nathann |
Commit: |
comment:5
I suggest adding an New commits:
|
This comment has been minimized.
This comment has been minimized.
Author: Jori Mäntysalo |
Reviewer: Nathann Cohen |
Changed branch from u/jmantysalo/graph_plot_default_options_before_first_call_to_plot___fail to |
Documentation for
graph_plot.py
is something like. . . some explanation, list of options . . .
If the user runs second example, the result is
That's because
.plot()
runsimport sage.graphs.graph_plot
which is needed forDEFAULT_PLOT_OPTIONS
to work. This patch addsimport
to second example.CC: @nathanncohen
Component: documentation
Author: Jori Mäntysalo
Branch/Commit:
2ccbf2b
Reviewer: Nathann Cohen
Issue created by migration from https://trac.sagemath.org/ticket/19451
The text was updated successfully, but these errors were encountered: