### Navigation

- index
- modules |
- next |
- previous |
- home|
- examples|
- tutorials|
- pyplot|
- docs »
- The Matplotlib API »
- matplotlib.pyplot »

# matplotlib.pyplot.ylabel

`matplotlib.pyplot.``ylabel`(s, *args, **kwargs)

  Set the y axis label of the current axis.

  Defaults override is:

      override = {
         'fontsize'            : 'small',
         'verticalalignment'   : 'center',
         'horizontalalignment' : 'right',
         'rotation'='vertical' : }

  See also

  `text()`
    For information on how override and the optional args work.

## Examples using `matplotlib.pyplot.ylabel`

Custom scale

Contourf Demo

Tricontour Demo

Tripcolor Demo

Triplot Demo

Scatter Symbol

Tight Bbox Test

Axes Demo

Stacked Bar Graph

Figure Title

Findobj Demo

Invert Axes

Log Bar

Multiline

Nan Test

Plotfile Demo

Simple Plot

Symlog Demo

Table Demo

Pyplot Mathtext

Pyplot Simple

Pyplot Text

XKCD

Multiple subplots

Subplot Demo

Controlling style of text and labels using a dictionary

Usetex Demo

Pgf Preamble

Pyplot tutorial

Usage Guide