Spec-Zone.ru › Matplotlib 2.1

matplotlib.pyplot.subplots_adjust

matplotlib.pyplot.subplots_adjust(*args, **kwargs)

Настройка макета подграфиков.

Вызов:

subplots_adjust(left=None, bottom=None, right=None, top=None,
                wspace=None, hspace=None)

Значения параметров (и рекомендуемые значения по умолчанию):

left  = 0.125  # the left side of the subplots of the figure
right = 0.9    # the right side of the subplots of the figure
bottom = 0.1   # the bottom of the subplots of the figure
top = 0.9      # the top of the subplots of the figure
wspace = 0.2   # the amount of width reserved for blank space between subplots,
               # expressed as a fraction of the average axis width
hspace = 0.2   # the amount of height reserved for white space between subplots,
               # expressed as a fraction of the average axis height

Фактические значения по умолчанию контролируются файлом rc

Примеры использования matplotlib.pyplot.subplots_adjust

../../_images/sphx_glr_pyplot_scales_thumb.png

Масштабы Pyplot

../../_images/sphx_glr_subplots_adjust_thumb.png

Настройка подграфиков

../../_images/sphx_glr_figure_title_thumb.png

Заголовок рисунка

../../_images/sphx_glr_customized_violin_thumb.png

Настройка диаграмм размаха

../../_images/sphx_glr_tricontour_vs_griddata_thumb.png

Tricontour против Griddata

../../_images/sphx_glr_text_fontdict_thumb.png

Управление стилем текста и меток с помощью словаря

../../_images/sphx_glr_multiline_thumb.png

Многострочный

../../_images/sphx_glr_legend_demo_thumb.png

Демонстрация легенды

../../_images/sphx_glr_demo_parasite_axes2_thumb.png

Демонстрация паразитных осей 2

../../_images/sphx_glr_table_demo_thumb.png

Демонстрация таблицы

../../_images/sphx_glr_demo_agg_filter_thumb.png

Демонстрация фильтра Agg

../../_images/sphx_glr_ticklabels_rotation_thumb.png

Вращение пользовательских меток делений

../../_images/sphx_glr_spines_thumb.png

Оси

../../_images/sphx_glr_tick-locators_thumb.png

Расположители делений

../../_images/sphx_glr_textbox_thumb.png

Текстовое поле

../../_images/sphx_glr_check_buttons_thumb.png

Флажки

../../_images/sphx_glr_buttons_thumb.png

Кнопки

../../_images/sphx_glr_radio_buttons_thumb.png

Радиокнопки

../../_images/sphx_glr_slider_demo_thumb.png

Демонстрация ползунка

../../_images/sphx_glr_pyplot_thumb.png

Учебник по Pyplot

© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.1.0/api/_as_gen/matplotlib.pyplot.subplots_adjust.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API