Skip to content

Fix some multiline platonic solids plot documentation #10922

@kcrisman

Description

@kcrisman

Some platonic solids in plot/plot3d/platonic.py do not evaluate correctly in the live documentation in the notebook, because they are spread over multiple lines. Things like

sage: dodecahedron(color='orange', opacity=0.8) + \
      sphere(size=0.5, color='black')

become split into the input cell and output cell.

I'm not sure if this is really a notebook bug or a parsing bug when the live documentation is made. An easy way to fix it is to change the line breaks but that would likely lead to less readability.

CC: @robertwb @sagetrac-mvngu

Component: documentation

Author: Frédéric Chapoton

Branch/Commit: c8ebabb

Reviewer: Nathann Cohen

Issue created by migration from https://trac.sagemath.org/ticket/10922

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions