Version 3.3.3
matplotlib
Fork me on GitHub
  • Installation
  • Documentation
  • Examples
  • Tutorials
  • Contributing

Navigation

  • index
  • modules |
  • next |
  • previous |
  • home| 
  • contents »
  • API Overview »
  • matplotlib.axes »
  • matplotlib.axes.Axes.set_yticks

Table of Contents

  • matplotlib.axes.Axes.set_yticks
    • Examples using matplotlib.axes.Axes.set_yticks

Related Topics

  • Documentation overview
    • API Overview
      • matplotlib.axes
        • Previous: matplotlib.axes.Axes.xaxis_date
        • Next: matplotlib.axes.Axes.get_yticks
Show Page Source

matplotlib.axes.Axes.set_yticks¶

Axes.set_yticks(self, ticks, *, minor=False)¶

Set the yaxis' tick locations.

Parameters:
tickslist of floats

List of tick locations.

minorbool, default: False

If False, set the major ticks; if True, the minor ticks.

Examples using matplotlib.axes.Axes.set_yticks¶

Horizontal bar chart

Horizontal bar chart¶

Broken Barh

Broken Barh¶

Psd Demo

Psd Demo¶

Creating annotated heatmaps

Creating annotated heatmaps¶

Rendering math equations using TeX

Rendering math equations using TeX¶

Auto Subplots Adjust

Auto Subplots Adjust¶

Make Room For Ylabel Using Axesgrid

Make Room For Ylabel Using Axesgrid¶

Scatter Histogram (Locatable Axes)

Scatter Histogram (Locatable Axes)¶

Demo Ticklabel Alignment

Demo Ticklabel Alignment¶

Demo Ticklabel Direction

Demo Ticklabel Direction¶

Bachelor's degrees by gender

Bachelor's degrees by gender¶

Firefox

Firefox¶

Integral as the area under a curve

Integral as the area under a curve¶

Shaded & power normalized rendering

Shaded & power normalized rendering¶

XKCD

XKCD¶

Rain simulation

Rain simulation¶

MATPLOTLIB **UNCHAINED**

MATPLOTLIB UNCHAINED¶

Frontpage 3D example

Frontpage 3D example¶

Frontpage contour example

Frontpage contour example¶

Frontpage histogram example

Frontpage histogram example¶

Frontpage plot example

Frontpage plot example¶

Create 2D bar graphs in different planes

Create 2D bar graphs in different planes¶

MRI With EEG

MRI With EEG¶

SkewT-logP diagram: using transforms and custom projections

SkewT-logP diagram: using transforms and custom projections¶

Custom spine bounds

Custom spine bounds¶

© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2020 The Matplotlib development team.
Last updated on Nov 12, 2020. Created using Sphinx 3.1.1. Doc version v3.3.3-2-g447bdbbf58.