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.

playing with labeled cells, embed, figure ...

trying with cells that produce:

matplotlib output

the source cell

we put a label the-labeled-plot on the following code cell

The history saving thread hit an unexpected error (OperationalError('attempt to write a readonly database')).History will not be written to the database.
<Figure size 640x480 with 1 Axes>

referencing the-labeled-plot


WITHOUT -- the exclamation mark

we write this [some visible text](#the-labeled-plot) some visible text


WITH -- an exclamation mark

we write this ![](#the-labeled-plot) (text in brackets doesn’t seem to be used)

matplotlib output


EMBED instead

now we use an embed directive - with a sharp # in front of the label

matplotlib output


FIGURE instead

now we use an figure directive - same thing, with a sharp # in front of the label

matplotlib output

some figure text goes here



pandas df

Loading...

hover on this text to view the dataframe

folium output

the source cell

we put a label the-labeled-map on the following code cell

Loading...

referencing the map

this should show a map ?

referencing a hidden notebook

Hover me to refer to the cell labeled the-hidden-reference