# hide the entries when export html

hi i export to html to put on my servor so that students can see the graphs how can i hide the entries, keeping visible on the html only the outputs ? Vinz

hide the entries when export html

add a comment

1

`nbconvert`

program is highly flexible when you use it directly from the command line or as a library (the "Download as" functionality in Jupyter notebooks just uses this program with some specific sets of arguments). Using nbconvert as a library shows how to extract figures. Removing cells, inputs, or outputs is also possible. So, with some programming effort it should be possible to automate what you want to do with a single call to `nbconvert`

.

0

One can

- save 2D graphics to png
- save 3D graphics to html

and they are then easy to include in web pages.

Examples:

```
sage: parabola = plot(lambda x: x^2, (-1, 1))
sage: parabola.save('parabola.png')
sage: xyz = (lambda u, v: u*cos(v), lambda u, v: u*sin(v), lambda u, v: u^2)
sage: paraboloid = parametric_plot3d(xyz, (0, 1), (0, 2*RDF.pi()))
sage: paraboloid.save('paraboloid.html')
```

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2021-11-17 04:42:01 +0100 **

Seen: **151 times**

Last updated: **Nov 17 '21**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.