### Navigation

- index
- modules |
- next |
- previous |
- home|
- examples|
- tutorials|
- pyplot|
- docs »
- The Matplotlib API »
- axis and tick API »

# matplotlib.axis.Axis.set_snap

`Axis.``set_snap`(snap)

  Sets the snap setting which may be:

  > - True: snap vertices to the nearest pixel center
  > - False: leave vertices as-is
  > - None: (auto) If the path contains only rectilinear line segments, round to the nearest pixel center

  Only supported by the Agg and MacOSX backends.