GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Installation
  • Documentation
  • Examples
  • Tutorials
  • Contributing

This view

  • Original page
  • New address

GeezerVison is showing matplotlib.org — matplotlib.pyplot.subplots — Matplotlib 3.1.2 documentation

You are reading an old version of the documentation (v3.1.1). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.subplots.html
Version 3.1.2
matplotlib
Fork me on GitHub

Navigation

  • index
  • modules |
  • next |
  • previous |
  • home| 
  • contents »
  • API Overview »
  • matplotlib.pyplot »
  • matplotlib.pyplot »

Quick search

Table of Contents

  • matplotlib.pyplot.subplots
    • Examples using matplotlib.pyplot.subplots

Related Topics

  • Documentation overview
    • API Overview
      • matplotlib.pyplot
        • matplotlib.pyplot
          • Previous: matplotlib.pyplot.subplot_tool
          • Next: matplotlib.pyplot.subplots_adjust
Show Page Source

matplotlib.pyplot.subplots¶

matplotlib.pyplot.subplots(nrows=1, ncols=1, sharex=False, sharey=False, squeeze=True, subplot_kw=None, gridspec_kw=None, **fig_kw)[source]¶

Create a figure and a set of subplots.

This utility wrapper makes it convenient to create common layouts of subplots, including the enclosing figure object, in a single call.

Parameters:
nrows, ncols : int, optional, default: 1

Number of rows/columns of the subplot grid.

sharex, sharey : bool or {'none', 'all', 'row', 'col'}, default: False

Controls sharing of properties among x (sharex) or y (sharey) axes:

  • True or 'all': x- or y-axis will be shared among all subplots.
  • False or 'none': each subplot x- or y-axis will be independent.
  • 'row': each subplot row will share an x- or y-axis.
  • 'col': each subplot column will share an x- or y-axis.

When subplots have a shared x-axis along a column, only the x tick labels of the bottom subplot are created. Similarly, when subplots have a shared y-axis along a row, only the y tick labels of the first column subplot are created. To later turn other subplots' ticklabels on, use tick_params.

squeeze : bool, optional, default: True
  • If True, extra dimensions are squeezed out from the returned array of Axes:

    • if only one subplot is constructed (nrows=ncols=1), the resulting single Axes object is returned as a scalar.
    • for Nx1 or 1xM subplots, the returned object is a 1D numpy object array of Axes objects.
    • for NxM, subplots with N>1 and M>1 are returned as a 2D array.
  • If False, no squeezing at all is done: the returned Axes object is always a 2D array containing Axes instances, even if it ends up being 1x1.

num : integer or string, optional, default: None

A pyplot.figure keyword that sets the figure number or label.

subplot_kw : dict, optional

Dict with keywords passed to the add_subplot call used to create each subplot.

gridspec_kw : dict, optional

Dict with keywords passed to the GridSpec constructor used to create the grid the subplots are placed on.

**fig_kw

All additional keyword arguments are passed to the pyplot.figure call.

Returns:
fig : Figure
ax : axes.Axes object or array of Axes objects.

ax can be either a single Axes object or an array of Axes objects if more than one subplot was created. The dimensions of the resulting array can be controlled with the squeeze keyword, see above.

See also

pyplot.figure
pyplot.subplot
pyplot.axes
Figure.subplots
Figure.add_subplot

Examples

# First create some toy data:
x = np.linspace(0, 2*np.pi, 400)
y = np.sin(x**2)

# Creates just a figure and only one subplot
fig, ax = plt.subplots()
ax.plot(x, y)
ax.set_title('Simple plot')

# Creates two subplots and unpacks the output array immediately
f, (ax1, ax2) = plt.subplots(1, 2, sharey=True)
ax1.plot(x, y)
ax1.set_title('Sharing Y axis')
ax2.scatter(x, y)

# Creates four polar axes, and accesses them through the returned array
fig, axes = plt.subplots(2, 2, subplot_kw=dict(polar=True))
axes[0, 0].plot(x, y)
axes[1, 1].scatter(x, y)

# Share a X axis with each column of subplots
plt.subplots(2, 2, sharex='col')

# Share a Y axis with each row of subplots
plt.subplots(2, 2, sharey='row')

# Share both X and Y axes with all subplots
plt.subplots(2, 2, sharex='all', sharey='all')

# Note that this is the same as
plt.subplots(2, 2, sharex=True, sharey=True)

# Creates figure number 10 with a single subplot
# and clears it if it already exists.
fig, ax=plt.subplots(num=10, clear=True)

Examples using matplotlib.pyplot.subplots¶

../../_images/sphx_glr_barchart_thumb.png

Grouped bar chart with labels

../../_images/sphx_glr_barh_thumb.png

Horizontal bar chart

../../_images/sphx_glr_broken_barh_thumb.png

Broken Barh

../../_images/sphx_glr_categorical_variables_thumb.png

Plotting categorical variables

../../_images/sphx_glr_cohere_thumb.png

Plotting the coherence of two signals

../../_images/sphx_glr_csd_demo_thumb.png

CSD Demo

../../_images/sphx_glr_errorbar_subsample_thumb.png

Errorbar Subsample

../../_images/sphx_glr_eventplot_demo_thumb.png

Eventplot Demo

../../_images/sphx_glr_fill_thumb.png

Filled polygon

../../_images/sphx_glr_fill_between_demo_thumb.png

Filling the area between lines

../../_images/sphx_glr_fill_betweenx_demo_thumb.png

Fill Betweenx Demo

../../_images/sphx_glr_filled_step_thumb.png

Hatch-filled histograms

../../_images/sphx_glr_gradient_bar_thumb.png

Bar chart with gradients

../../_images/sphx_glr_horizontal_barchart_distribution_thumb.png

Discrete distribution as horizontal bar chart

../../_images/sphx_glr_joinstyle_thumb.png

Join styles and cap styles

../../_images/sphx_glr_line_demo_dash_control_thumb.png

Customizing dashed line styles

../../_images/sphx_glr_linestyles_thumb.png

Linestyles

../../_images/sphx_glr_marker_fillstyle_reference_thumb.png

Marker filling-styles

../../_images/sphx_glr_marker_reference_thumb.png

Marker Reference

../../_images/sphx_glr_markevery_demo_thumb.png

Markevery Demo

../../_images/sphx_glr_multicolored_line_thumb.png

Multicolored lines

../../_images/sphx_glr_psd_demo_thumb.png

Psd Demo

../../_images/sphx_glr_scatter_custom_symbol_thumb.png

Scatter Custom Symbol

../../_images/sphx_glr_scatter_demo2_thumb.png

Scatter Demo2

../../_images/sphx_glr_scatter_piecharts_thumb.png

Scatter plot with pie chart markers

../../_images/sphx_glr_scatter_with_legend_thumb.png

Scatter plots with a legend

../../_images/sphx_glr_simple_plot_thumb.png

Simple Plot

../../_images/sphx_glr_span_regions_thumb.png

Using span_where

../../_images/sphx_glr_spectrum_demo_thumb.png

Spectrum Representations

../../_images/sphx_glr_stackplot_demo_thumb.png

Stackplot Demo

../../_images/sphx_glr_timeline_thumb.png

Creating a timeline with lines, dates, and text

../../_images/sphx_glr_vline_hline_demo_thumb.png

hlines and vlines

../../_images/sphx_glr_xcorr_acorr_demo_thumb.png

Cross- and Auto-Correlation Demo

../../_images/sphx_glr_affine_image_thumb.png

Affine transform of an image

../../_images/sphx_glr_barb_demo_thumb.png

Barb Demo

../../_images/sphx_glr_contour_corner_mask_thumb.png

Contour Corner Mask

../../_images/sphx_glr_contour_demo_thumb.png

Contour Demo

../../_images/sphx_glr_contour_image_thumb.png

Contour Image

../../_images/sphx_glr_contour_label_demo_thumb.png

Contour Label Demo

../../_images/sphx_glr_contourf_demo_thumb.png

Contourf Demo

../../_images/sphx_glr_contourf_hatching_thumb.png

Contourf Hatching

../../_images/sphx_glr_contourf_log_thumb.png

Contourf and log color scale

../../_images/sphx_glr_demo_bboximage_thumb.png

BboxImage Demo

../../_images/sphx_glr_image_annotated_heatmap_thumb.png

Creating annotated heatmaps

../../_images/sphx_glr_image_clip_path_thumb.png

Clipping images with patches

../../_images/sphx_glr_image_demo_thumb.png

Image Demo

../../_images/sphx_glr_image_masked_thumb.png

Image Masked

../../_images/sphx_glr_image_nonuniform_thumb.png

Image Nonuniform

../../_images/sphx_glr_image_transparency_blend_thumb.png

Blend transparency with color in 2-D images

../../_images/sphx_glr_image_zcoord_thumb.png

Modifying the coordinate formatter

../../_images/sphx_glr_interpolation_methods_thumb.png

Interpolations for imshow/matshow

../../_images/sphx_glr_irregulardatagrid_thumb.png

Contour plot of irregularly spaced data

../../_images/sphx_glr_multi_image_thumb.png

Multi Image

../../_images/sphx_glr_pcolor_demo_thumb.png

Pcolor Demo

../../_images/sphx_glr_pcolormesh_levels_thumb.png

pcolormesh

../../_images/sphx_glr_quadmesh_demo_thumb.png

QuadMesh Demo

../../_images/sphx_glr_quiver_demo_thumb.png

Advanced quiver and quiverkey functions

../../_images/sphx_glr_quiver_simple_demo_thumb.png

Quiver Simple Demo

../../_images/sphx_glr_shading_example_thumb.png

Shading example

../../_images/sphx_glr_specgram_demo_thumb.png

Spectrogram Demo

../../_images/sphx_glr_spy_demos_thumb.png

Spy Demos

../../_images/sphx_glr_tricontour_demo_thumb.png

Tricontour Demo

../../_images/sphx_glr_tricontour_smooth_delaunay_thumb.png

Tricontour Smooth Delaunay

../../_images/sphx_glr_tricontour_smooth_user_thumb.png

Tricontour Smooth User

../../_images/sphx_glr_trigradient_demo_thumb.png

Trigradient Demo

../../_images/sphx_glr_triinterp_demo_thumb.png

Triinterp Demo

../../_images/sphx_glr_tripcolor_demo_thumb.png

Tripcolor Demo

../../_images/sphx_glr_triplot_demo_thumb.png

Triplot Demo

../../_images/sphx_glr_watermark_image_thumb.png

Watermark image

../../_images/sphx_glr_axes_demo_thumb.png

Axes Demo

../../_images/sphx_glr_axes_margins_thumb.png

Zooming in and out using Axes.margins and the subject of "stickiness"

../../_images/sphx_glr_axes_props_thumb.png

Axes Props

../../_images/sphx_glr_axis_equal_demo_thumb.png

Axis Equal Demo

../../_images/sphx_glr_broken_axis_thumb.png

Broken Axis

../../_images/sphx_glr_colorbar_placement_thumb.png

Placing Colorbars

../../_images/sphx_glr_demo_constrained_layout_thumb.png

Resizing axes with constrained layout

../../_images/sphx_glr_demo_tight_layout_thumb.png

Resizing axes with tight layout

../../_images/sphx_glr_fahrenheit_celsius_scales_thumb.png

Different scales on the same axes

../../_images/sphx_glr_figure_title_thumb.png

Figure Title

../../_images/sphx_glr_ganged_plots_thumb.png

Creating adjacent subplots

../../_images/sphx_glr_gridspec_and_subplots_thumb.png

Combining two subplots using subplots and GridSpec

../../_images/sphx_glr_invert_axes_thumb.png

Invert Axes

../../_images/sphx_glr_secondary_axis_thumb.png

Secondary Axis

../../_images/sphx_glr_subplot_demo_thumb.png

Basic Subplot Demo

../../_images/sphx_glr_subplot_toolbar_thumb.png

Subplot Toolbar

../../_images/sphx_glr_subplots_demo_thumb.png

Creating multiple subplots using plt.subplots

../../_images/sphx_glr_two_scales_thumb.png

Plots with different scales

../../_images/sphx_glr_zoom_inset_axes_thumb.png

Zoom region inset axes

../../_images/sphx_glr_barchart_demo_thumb.png

Percentiles as horizontal bar chart

../../_images/sphx_glr_boxplot_thumb.png

Artist customization in box plots

../../_images/sphx_glr_boxplot_color_thumb.png

Box plots with custom fill colors

../../_images/sphx_glr_boxplot_demo_thumb.png

Boxplots

../../_images/sphx_glr_boxplot_vs_violin_thumb.png

Box plot vs. violin plot comparison

../../_images/sphx_glr_bxp_thumb.png

Boxplot drawer function

../../_images/sphx_glr_confidence_ellipse_thumb.png

Plot a confidence ellipse of a two-dimensional dataset

../../_images/sphx_glr_customized_violin_thumb.png

Violin plot customization

../../_images/sphx_glr_errorbar_thumb.png

Errorbar function

../../_images/sphx_glr_errorbar_features_thumb.png

Different ways of specifying error bars

../../_images/sphx_glr_errorbar_limits_thumb.png

Including upper and lower limits in error bars

../../_images/sphx_glr_errorbars_and_boxes_thumb.png

Creating boxes from error bars using PatchCollection

../../_images/sphx_glr_hexbin_demo_thumb.png

Hexbin Demo

../../_images/sphx_glr_hist_thumb.png

Histograms

../../_images/sphx_glr_histogram_cumulative_thumb.png

Using histograms to plot a cumulative distribution

../../_images/sphx_glr_histogram_features_thumb.png

Demo of the histogram (hist) function with a few features

../../_images/sphx_glr_histogram_histtypes_thumb.png

Demo of the histogram function's different histtype settings

../../_images/sphx_glr_histogram_multihist_thumb.png

The histogram (hist) function with multiple data sets

../../_images/sphx_glr_multiple_histograms_side_by_side_thumb.png

Producing multiple histograms side by side

../../_images/sphx_glr_violinplot_thumb.png

Violin plot basics

../../_images/sphx_glr_pie_features_thumb.png

Basic pie chart

../../_images/sphx_glr_pie_demo2_thumb.png

Pie Demo2

../../_images/sphx_glr_nested_pie_thumb.png

Nested pie charts

../../_images/sphx_glr_pie_and_donut_labels_thumb.png

Labeling a pie and a donut

../../_images/sphx_glr_accented_text_thumb.png

Using accented text in matplotlib

../../_images/sphx_glr_annotation_demo_thumb.png

Annotating Plots

../../_images/sphx_glr_custom_legends_thumb.png

Composing Custom Legends

../../_images/sphx_glr_dashpointlabel_thumb.png

Dashpoint Label

../../_images/sphx_glr_date_thumb.png

Date tick labels

../../_images/sphx_glr_date_index_formatter_thumb.png

Custom tick formatter for time series

../../_images/sphx_glr_demo_annotation_box_thumb.png

Demo Annotation Box

../../_images/sphx_glr_engineering_formatter_thumb.png

Labeling ticks using engineering notation

../../_images/sphx_glr_figlegend_demo_thumb.png

Figure legend demo

../../_images/sphx_glr_font_family_rc_sgskip_thumb.png

Configuring the font family

../../_images/sphx_glr_font_file_thumb.png

Using a ttf font file in Matplotlib

../../_images/sphx_glr_font_table_thumb.png

Font table

../../_images/sphx_glr_legend_thumb.png

Legend using pre-defined labels

../../_images/sphx_glr_legend_demo_thumb.png

Legend Demo

../../_images/sphx_glr_line_with_text_thumb.png

Artist within an artist

../../_images/sphx_glr_mathtext_demo_thumb.png

Mathtext Demo

../../_images/sphx_glr_tex_demo_thumb.png

Rendering math equation using TeX

../../_images/sphx_glr_text_rotation_thumb.png

Default text rotation demonstration

../../_images/sphx_glr_unicode_minus_thumb.png

Unicode minus

../../_images/sphx_glr_watermark_text_thumb.png

Text watermark

../../_images/sphx_glr_align_ylabels_thumb.png

Align y-labels

../../_images/sphx_glr_annotate_transform_thumb.png

Annotate Transform

../../_images/sphx_glr_annotation_basic_thumb.png

Annotating a plot

../../_images/sphx_glr_auto_subplots_adjust_thumb.png

Auto Subplots Adjust

../../_images/sphx_glr_boxplot_demo_pyplot_thumb.png

Boxplot Demo

../../_images/sphx_glr_dollar_ticks_thumb.png

Dollar Ticks

../../_images/sphx_glr_whats_new_98_4_fill_between_thumb.png

Fill Between

../../_images/sphx_glr_color_demo_thumb.png

Color Demo

../../_images/sphx_glr_color_by_yvalue_thumb.png

Color by y-value

../../_images/sphx_glr_color_cycle_default_thumb.png

Colors in the default property cycle

../../_images/sphx_glr_color_cycler_thumb.png

Styling with cycler

../../_images/sphx_glr_colorbar_basics_thumb.png

Colorbar

../../_images/sphx_glr_colormap_reference_thumb.png

Colormap reference

../../_images/sphx_glr_custom_cmap_thumb.png

Creating a colormap from a list of colors

../../_images/sphx_glr_named_colors_thumb.png

List of named colors

../../_images/sphx_glr_arrow_guide_thumb.png

Arrow guide

../../_images/sphx_glr_artist_reference_thumb.png

Reference for Matplotlib artists

../../_images/sphx_glr_collections_thumb.png

Line, Poly and RegularPoly Collection with autoscaling

../../_images/sphx_glr_compound_path_thumb.png

Compound path

../../_images/sphx_glr_dolphin_thumb.png

Dolphins

../../_images/sphx_glr_donut_thumb.png

Mmh Donuts!!!

../../_images/sphx_glr_ellipse_collection_thumb.png

Ellipse Collection

../../_images/sphx_glr_ellipse_demo_thumb.png

Ellipse Demo

../../_images/sphx_glr_hatch_demo_thumb.png

Hatch Demo

../../_images/sphx_glr_line_collection_thumb.png

Line Collection

../../_images/sphx_glr_patch_collection_thumb.png

Circles, Wedges and Polygons

../../_images/sphx_glr_path_patch_thumb.png

PathPatch object

../../_images/sphx_glr_quad_bezier_thumb.png

Bezier Curve

../../_images/sphx_glr_bmh_thumb.png

Bayesian Methods for Hackers style sheet

../../_images/sphx_glr_dark_background_thumb.png

Dark background style sheet

../../_images/sphx_glr_fivethirtyeight_thumb.png

FiveThirtyEight style sheet

../../_images/sphx_glr_ggplot_thumb.png

ggplot style sheet

../../_images/sphx_glr_grayscale_thumb.png

Grayscale style sheet

../../_images/sphx_glr_style_sheets_reference_thumb.png

Style sheets reference

../../_images/sphx_glr_demo_anchored_direction_arrows_thumb.png

Demo Anchored Direction Arrow

../../_images/sphx_glr_demo_axes_hbox_divider_thumb.png

Demo Axes Hbox Divider

../../_images/sphx_glr_demo_axes_rgb_thumb.png

Demo Axes RGB

../../_images/sphx_glr_demo_colorbar_of_inset_axes_thumb.png

Demo Colorbar of Inset Axes

../../_images/sphx_glr_demo_colorbar_with_axes_divider_thumb.png

Demo Colorbar with Axes Divider

../../_images/sphx_glr_demo_colorbar_with_inset_locator_thumb.png

Controlling the position and size of colorbars with Inset Axes

../../_images/sphx_glr_inset_locator_demo_thumb.png

Inset Locator Demo

../../_images/sphx_glr_inset_locator_demo2_thumb.png

Inset Locator Demo2

../../_images/sphx_glr_scatter_hist_locatable_axes_thumb.png

Scatter Hist

../../_images/sphx_glr_bachelors_degrees_by_gender_thumb.png

Bachelor's degrees by gender

../../_images/sphx_glr_integral_thumb.png

Integral as the area under a curve

../../_images/sphx_glr_animate_decay_thumb.png

Decay

../../_images/sphx_glr_animated_histogram_thumb.png

Animated histogram

../../_images/sphx_glr_animation_demo_thumb.png

pyplot animation

../../_images/sphx_glr_bayes_update_thumb.png

The Bayes update

../../_images/sphx_glr_simple_anim_thumb.png

Animated line plot

../../_images/sphx_glr_strip_chart_thumb.png

Oscilloscope

../../_images/sphx_glr_coords_demo_thumb.png

Coords demo

../../_images/sphx_glr_data_browser_thumb.png

Data Browser

../../_images/sphx_glr_figure_axes_enter_leave_thumb.png

Figure Axes Enter Leave

../../_images/sphx_glr_image_slices_viewer_thumb.png

Image Slices Viewer

../../_images/sphx_glr_keypress_demo_thumb.png

Keypress Demo

../../_images/sphx_glr_legend_picking_thumb.png

Legend Picking

../../_images/sphx_glr_looking_glass_thumb.png

Looking Glass

../../_images/sphx_glr_path_editor_thumb.png

Path Editor

../../_images/sphx_glr_pick_event_demo_thumb.png

Pick Event Demo

../../_images/sphx_glr_pick_event_demo2_thumb.png

Pick Event Demo2

../../_images/sphx_glr_poly_editor_thumb.png

Poly Editor

../../_images/sphx_glr_pong_sgskip_thumb.png

Pong

../../_images/sphx_glr_resample_thumb.png

Resampling Data

../../_images/sphx_glr_timers_thumb.png

Timers

../../_images/sphx_glr_viewlims_thumb.png

Viewlims

../../_images/sphx_glr_zoom_window_thumb.png

Zoom Window

../../_images/sphx_glr_3D_thumb.png

Frontpage 3D example

../../_images/sphx_glr_contour_thumb.png

Frontpage contour example

../../_images/sphx_glr_histogram_thumb.png

Frontpage histogram example

../../_images/sphx_glr_membrane_thumb.png

Frontpage plot example

../../_images/sphx_glr_agg_buffer_to_array_thumb.png

Agg Buffer To Array

../../_images/sphx_glr_bbox_intersect_thumb.png

Changing colors of lines intersecting a box

../../_images/sphx_glr_contour_manual_thumb.png

Manual Contour

../../_images/sphx_glr_coords_report_thumb.png

Coords Report

../../_images/sphx_glr_cursor_demo_sgskip_thumb.png

Cursor Demo

../../_images/sphx_glr_demo_ribbon_box_thumb.png

Ribbon Box

../../_images/sphx_glr_findobj_demo_thumb.png

Findobj Demo

../../_images/sphx_glr_histogram_path_thumb.png

Building histograms using Rectangles and PolyCollections

../../_images/sphx_glr_keyword_plotting_thumb.png

Plotting with keywords

../../_images/sphx_glr_load_converter_thumb.png

Load converter

../../_images/sphx_glr_multiprocess_sgskip_thumb.png

Multiprocess

../../_images/sphx_glr_pythonic_matplotlib_thumb.png

Pythonic Matplotlib

../../_images/sphx_glr_rasterization_demo_thumb.png

Rasterization Demo

../../_images/sphx_glr_custom_shaded_3d_surface_thumb.png

Custom hillshading in a 3D surface plot

../../_images/sphx_glr_wire3d_zero_stride_thumb.png

3D wireframe plots in one direction

../../_images/sphx_glr_common_date_problems_thumb.png

Fixing common date annoyances

../../_images/sphx_glr_create_subplots_thumb.png

Easily creating subplots

../../_images/sphx_glr_fill_between_alpha_thumb.png

Fill Between and Alpha

../../_images/sphx_glr_placing_text_boxes_thumb.png

Placing text boxes

../../_images/sphx_glr_aspect_loglog_thumb.png

Loglog Aspect

../../_images/sphx_glr_log_bar_thumb.png

Log Bar

../../_images/sphx_glr_log_demo_thumb.png

Log Demo

../../_images/sphx_glr_log_test_thumb.png

Log Axis

../../_images/sphx_glr_power_norm_thumb.png

Exploring normalizations

../../_images/sphx_glr_scales_thumb.png

Scales

../../_images/sphx_glr_advanced_hillshading_thumb.png

Hillshading

../../_images/sphx_glr_anscombe_thumb.png

Anscombe's Quartet

../../_images/sphx_glr_leftventricle_bulleye_thumb.png

Left ventricle bullseye

../../_images/sphx_glr_mri_demo_thumb.png

MRI

../../_images/sphx_glr_radar_chart_thumb.png

Radar chart (aka spider or star chart)

../../_images/sphx_glr_topographic_hillshading_thumb.png

Topographic hillshading

../../_images/sphx_glr_auto_ticks_thumb.png

Automatically setting tick labels

../../_images/sphx_glr_centered_ticklabels_thumb.png

Centering labels between ticks

../../_images/sphx_glr_colorbar_tick_labelling_demo_thumb.png

Colorbar Tick Labelling Demo

../../_images/sphx_glr_custom_ticker1_thumb.png

Custom Ticker1

../../_images/sphx_glr_date_concise_formatter_thumb.png

Formatting date ticks using ConciseDateFormatter

../../_images/sphx_glr_date_demo_convert_thumb.png

Date Demo Convert

../../_images/sphx_glr_date_demo_rrule_thumb.png

Date Demo Rrule

../../_images/sphx_glr_date_index_formatter2_thumb.png

Date Index Formatter

../../_images/sphx_glr_major_minor_demo_thumb.png

Major and minor ticks

../../_images/sphx_glr_multiple_yaxis_with_spines_thumb.png

Multiple Yaxis With Spines

../../_images/sphx_glr_scalarformatter_thumb.png

Tick formatting using the ScalarFormatter

../../_images/sphx_glr_spines_thumb.png

Spines

../../_images/sphx_glr_spines_bounds_thumb.png

Custom spine bounds

../../_images/sphx_glr_spines_dropped_thumb.png

Dropped spines

../../_images/sphx_glr_tick_label_right_thumb.png

Set default y-axis tick labels on the right

../../_images/sphx_glr_tick_labels_from_values_thumb.png

Setting tick labels from a list of values

../../_images/sphx_glr_tick_xlabel_top_thumb.png

Set default x-axis tick labels on the top

../../_images/sphx_glr_annotate_with_units_thumb.png

Annotation with units

../../_images/sphx_glr_artist_tests_thumb.png

Artist tests

../../_images/sphx_glr_bar_demo2_thumb.png

Bar demo with units

../../_images/sphx_glr_bar_unit_demo_thumb.png

Group barchart with units

../../_images/sphx_glr_evans_test_thumb.png

Evans test

../../_images/sphx_glr_radian_demo_thumb.png

Radian ticks

../../_images/sphx_glr_units_sample_thumb.png

Inches and Centimeters

../../_images/sphx_glr_units_scatter_thumb.png

Unit handling

../../_images/sphx_glr_pylab_with_gtk_sgskip_thumb.png

pyplot with GTK

../../_images/sphx_glr_svg_tooltip_sgskip_thumb.png

SVG Tooltip

../../_images/sphx_glr_anchored_box01_thumb.png

Anchored Box01

../../_images/sphx_glr_anchored_box02_thumb.png

Anchored Box02

../../_images/sphx_glr_anchored_box03_thumb.png

Anchored Box03

../../_images/sphx_glr_anchored_box04_thumb.png

Anchored Box04

../../_images/sphx_glr_annotate_explain_thumb.png

Annotate Explain

../../_images/sphx_glr_annotate_simple01_thumb.png

Annotate Simple01

../../_images/sphx_glr_annotate_simple02_thumb.png

Annotate Simple02

../../_images/sphx_glr_annotate_simple03_thumb.png

Annotate Simple03

../../_images/sphx_glr_annotate_simple04_thumb.png

Annotate Simple04

../../_images/sphx_glr_annotate_simple_coord01_thumb.png

Annotate Simple Coord01

../../_images/sphx_glr_annotate_simple_coord02_thumb.png

Annotate Simple Coord02

../../_images/sphx_glr_annotate_simple_coord03_thumb.png

Annotate Simple Coord03

../../_images/sphx_glr_annotate_text_arrow_thumb.png

Annotate Text Arrow

../../_images/sphx_glr_colormap_normalizations_thumb.png

Colormap Normalizations

../../_images/sphx_glr_colormap_normalizations_bounds_thumb.png

Colormap Normalizations Bounds

../../_images/sphx_glr_colormap_normalizations_custom_thumb.png

Colormap Normalizations Custom

../../_images/sphx_glr_colormap_normalizations_diverging_thumb.png

DivergingNorm colormap normalization

../../_images/sphx_glr_colormap_normalizations_lognorm_thumb.png

Colormap Normalizations Lognorm

../../_images/sphx_glr_colormap_normalizations_power_thumb.png

Colormap Normalizations Power

../../_images/sphx_glr_colormap_normalizations_symlognorm_thumb.png

Colormap Normalizations Symlognorm

../../_images/sphx_glr_connect_simple01_thumb.png

Connect Simple01

../../_images/sphx_glr_connectionstyle_demo_thumb.png

Connectionstyle Demo

../../_images/sphx_glr_custom_boxstyle01_thumb.png

Custom Boxstyle01

../../_images/sphx_glr_custom_boxstyle02_thumb.png

Custom Boxstyle02

../../_images/sphx_glr_simple_annotate01_thumb.png

Simple Annotate01

../../_images/sphx_glr_simple_legend02_thumb.png

Simple Legend02

../../_images/sphx_glr_buttons_thumb.png

Buttons

../../_images/sphx_glr_check_buttons_thumb.png

Check Buttons

../../_images/sphx_glr_lasso_selector_demo_sgskip_thumb.png

Lasso Selector Demo

../../_images/sphx_glr_multicursor_thumb.png

Multicursor

../../_images/sphx_glr_polygon_selector_demo_thumb.png

Polygon Selector Demo

../../_images/sphx_glr_radio_buttons_thumb.png

Radio Buttons

../../_images/sphx_glr_rectangle_selector_thumb.png

Rectangle Selector

../../_images/sphx_glr_slider_demo_thumb.png

Slider Demo

../../_images/sphx_glr_span_selector_thumb.png

Span Selector

../../_images/sphx_glr_textbox_thumb.png

Textbox

../../_images/sphx_glr_usage_thumb.png

Usage Guide

../../_images/sphx_glr_sample_plots_thumb.png

Sample plots in Matplotlib

../../_images/sphx_glr_lifecycle_thumb.png

The Lifecycle of a Plot

../../_images/sphx_glr_artists_thumb.png

Artist tutorial

../../_images/sphx_glr_color_cycle_thumb.png

Styling with cycler

../../_images/sphx_glr_gridspec_thumb.png

Customizing Figure Layouts Using GridSpec and Other Functions

../../_images/sphx_glr_constrainedlayout_guide_thumb.png

Constrained Layout Guide

../../_images/sphx_glr_tight_layout_guide_thumb.png

Tight Layout guide

../../_images/sphx_glr_path_tutorial_thumb.png

Path Tutorial

../../_images/sphx_glr_transforms_tutorial_thumb.png

Transformations Tutorial

../../_images/sphx_glr_colors_thumb.png

Specifying Colors

../../_images/sphx_glr_colorbar_only_thumb.png

Customized Colorbars Tutorial

../../_images/sphx_glr_colormap-manipulation_thumb.png

Creating Colormaps in Matplotlib

../../_images/sphx_glr_colormapnorms_thumb.png

Colormap Normalization

../../_images/sphx_glr_colormaps_thumb.png

Choosing Colormaps in Matplotlib

../../_images/sphx_glr_text_intro_thumb.png

Text in Matplotlib Plots

© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2018 The Matplotlib development team.
Last updated on Jan 05, 2020. Created using Sphinx 1.8.5. Doc version v3.1.1-79-g90d53b526.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.