Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Computation and embedding data-analysis and results in your project

Updated: 27 Mar 2026

One of the major benefits of using Jupyter Books for scientific work is that the narrative and data-processing are part of one and the same work flow. The Jupyter Notebooks, or parts of them, can be directly included in the project - where content is fully shown and accessible on the website but are not present in the printed manuscript. This is done by adding tags to the code cells:

  • hide-input: results in a dropdown menu on the website where the code can be accessed but removes the code from the printed manuscript

  • remove-input: removes the input also for the website.

  • hide-output: hides the output on the website

  • remove-output: removes the output also on the website.

  • remove-cell: removes the entire cell from the website and the printed manuscript.

  • The option to use eval

Below we will cover several common ways of analyzing and presenting data.

Pandas

Source
Output

Matplotlib

Plotly

Altair

Bokeh

Widgets

Source
a linear

Figure 1:some caption

Source

Using eval below to show content / output of the cell above.

Unexecuted inline expression for: inline

Unexecuted inline expression for: second

Source

figure below with eval for label and caption.

fig1_caption

Figure 2:Unexecuted inline expression for: fig1_caption

Source

below there should be a code cell with caption

Figure 3:some caption

Figure 3:some caption