On Wed, Sep 17, 2025 at 9:46 AM Vincent Macri <[email protected]> wrote:
>
> Yes, it is possible. Here are two examples depending on what kind of
> graph you're talking about.
>
> Graph theory graph:
> https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_plot.html
> and source code:
> https://github.com/sagemath/sage/blob/develop/src/sage/graphs/graph_plot.py
tl;dr
Add sphinx PLOT pieces, like
(note that the code inside them must be Python code, not Sage code)
------------------------
.. PLOT::
sphinx_plot(graphs.WheelGraph(15))
-------------------------
>
> Plot of a function graph:
> https://doc.sagemath.org/html/en/reference/plotting/sage/plot/plot.html
> and source code:
> https://github.com/sagemath/sage/blob/develop/src/sage/plot/plot.py
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/sage-devel/77d7b0be-c918-46ba-8b92-4f010cd0a050%40ucalgary.ca.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1m6hSM%2BQ_Qx9%3DFHSXUZwxuN1ZWUAwP9C43h9CXD9gsiw%40mail.gmail.com.