---
title: inline
description: Inline Matplotlib figures for cell execution.
---
## new\_figure\_manager

```python
def new_figure_manager(
    num, *args, FigureClass:type=Figure, **kwargs
):
```

## new\_figure\_manager\_given\_figure

```python
def new_figure_manager_given_figure(
    num, figure
):
```

## show

```python
def show(
    block=None
):
```

*Publish and close all open pyplot figures.*

## flush\_figures

```python
def flush_figures():
```

## print\_figure

```python
def print_figure(
    fig, fmt:str='png'
):
```

## retina\_figure

```python
def retina_figure(
    fig
):
```

## select\_figure\_format

```python
def select_figure_format(
    shell, fmt
):
```

## configure\_inline\_support

```python
def configure_inline_support(
    shell, fmt=None
):
```

*Publish inline figures at the end of each cell.*
