Search
Testing page elements
import numpy as np
import matplotlib.pyplot as plt
square = np.random.randn(100, 100)
wide = np.random.randn(100, 1000)

Hiding inputs

# Hide input
square = np.random.randn(100, 100)
wide = np.random.randn(100, 1000)

fig, ax = plt.subplots()
ax.imshow(square)

fig, ax = plt.subplots()
ax.imshow(wide)
<matplotlib.image.AxesImage at 0x7fb25f7145c0>

Hiding outputs

# Hide input
square = np.random.randn(100, 100)
wide = np.random.randn(100, 1000)

fig, ax = plt.subplots()
ax.imshow(square)

fig, ax = plt.subplots()
ax.imshow(wide)
<matplotlib.image.AxesImage at 0x7fb25f7145c0>

Hiding markdown

This is a hidden markdown cell

It should be hidden!

Hiding both inputs and outputs

square = np.random.randn(100, 100)
wide = np.random.randn(100, 1000)

fig, ax = plt.subplots()
ax.imshow(square)

fig, ax = plt.subplots()
ax.imshow(wide)
<matplotlib.image.AxesImage at 0x7fb25f7145c0>

Removing inputs / outputs

<matplotlib.image.AxesImage at 0x7fb25f683ba8>
# Remove output
square = np.random.randn(100, 100)
wide = np.random.randn(100, 1000)

fig, ax = plt.subplots()
ax.imshow(square)

fig, ax = plt.subplots()
ax.imshow(wide)

Removing markdown cells

Remove the markdown cell below (below should not be there)

Full width

## A full-width square figure
fig, ax = plt.subplots()
ax.imshow(square)
<matplotlib.image.AxesImage at 0x7fb25f6835c0>
## A full-width wide figure
fig, ax = plt.subplots()
ax.imshow(wide)
<matplotlib.image.AxesImage at 0x7fb25f67b550>
# Now here's the same figure at regular width
fig, ax = plt.subplots()
ax.imshow(wide)
<matplotlib.image.AxesImage at 0x7fb25d5130b8>

Full-width markdown

This is some markdown that should be shown at full width.

Here's the Jupyter logo:

## code cell in the sidebar with output
fig, ax = plt.subplots()
ax.imshow(wide)
<matplotlib.image.AxesImage at 0x7fb25d4d27f0>

Markdown cell with code in sidebar

a = 2
b = 3
def aplusb(a, b):
    return a+b

and now r

a <- 2
b <- 4
a+b

how does it look?

Markdown cell with images in sidebar

More content after the popouts

This is extra content after the popouts to see if cells overlap and such. Also to make sure you can still interact with the popout content. This is extra content after the popouts to see if cells overlap and such. Also to make sure you can still interact with the popout content.

a = 2

This is extra content after the popouts to see if cells overlap and such. Also to make sure you can still interact with the popout content. This is extra content after the popouts to see if cells overlap and such. Also to make sure you can still interact with the popout content. This is extra content after the popouts to see if cells overlap and such. Also to make sure you can still interact with the popout content.

Quotations and epigraphs

This last section shows quotations and epigraphs. First off, we'll have a quotation:

A quote with no attribution:

Here's my quote, it's pretty neat. I wonder how many lines I can create with a single stream-of-consciousness quote. I could try to add a list of ideas to talk about. I suppose I could just keep going on forever, but I'll stop here.

A quote with attribution

Here's my quote, it's pretty neat. I wonder how many lines I can create with a single stream-of-consciousness quote. I could try to add a list of ideas to talk about. I suppose I could just keep going on forever, but I'll stop here.

  • Jo the Jovyan

And now here's the same thing with an epigraph!

A quote with no attribution:

Here's my quote, it's pretty neat. I wonder how many lines I can create with a single stream-of-consciousness quote. I could try to add a list of ideas to talk about. I suppose I could just keep going on forever, but I'll stop here.

A quote with attribution

Here's my quote, it's pretty neat. I wonder how many lines I can create with a single stream-of-consciousness quote. I could try to add a list of ideas to talk about. I suppose I could just keep going on forever, but I'll stop here.

  • Jo the Jovyan