Spec-Zone.ru › Matplotlib 3.0

matplotlib.pyplot.subplots_adjust

matplotlib.pyplot.subplots_adjust(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None) [source]

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

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

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 space between subplots,
               # expressed as a fraction of the average axis width
hspace = 0.2   # the amount of height reserved for space between subplots,
               # expressed as a fraction of the average axis height

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

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

../../_images/sphx_glr_irregulardatagrid_thumb.png

Контурный график неравномерно распределенных данных

../../_images/sphx_glr_subplots_adjust_thumb.png

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

../../_images/sphx_glr_customized_violin_thumb.png

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

../../_images/sphx_glr_multiline_thumb.png

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

../../_images/sphx_glr_text_fontdict_thumb.png

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

../../_images/sphx_glr_pyplot_scales_thumb.png

Масштабы Pyplot

../../_images/sphx_glr_demo_parasite_axes2_thumb.png

Демонстрация дополнительных осей

../../_images/sphx_glr_demo_agg_filter_thumb.png

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

../../_images/sphx_glr_table_demo_thumb.png

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

../../_images/sphx_glr_spines_thumb.png

Шпильки

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

Позиционеры делений

../../_images/sphx_glr_ticklabels_rotation_thumb.png

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

../../_images/sphx_glr_buttons_thumb.png

Кнопки

../../_images/sphx_glr_check_buttons_thumb.png

Флажки

../../_images/sphx_glr_radio_buttons_thumb.png

Радиокнопки

../../_images/sphx_glr_slider_demo_thumb.png

Ползунок

../../_images/sphx_glr_textbox_thumb.png

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

../../_images/sphx_glr_pyplot_thumb.png

Руководство по Pyplot

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

Spec-Zone.ru

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