Opened 4 years ago

Last modified 4 years ago

#17498 closed enhancement

Pictures in the doc through ".. plot::" directive — at Initial Version

Reported by: ncohen Owned by:
Priority: major Milestone: sage-6.5
Component: documentation Keywords:
Cc: vbraun, vdelecroix, tmonteil, jmantysalo, ​fredrik.johansson Merged in:
Authors: Nathann Cohen Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

With this branch, one can use the ".. PLOT::" directive defined in matplotlib through Sphinx.

As it expects the picture to be defined as a matplotlib one, I added a small function called 'draw' that translates a Sage object into a matplotlib one through a temporary .png file (I know, I know...)

While it works as it is, it is probably not implemented as it should.

Soooo let us fix this and use that feature !

Nathann

Change History (0)

Note: See TracTickets for help on using tickets.