Spec-Zone.ru › Matplotlib 2.2

matplotlib.pyplot.subplots_adjust

matplotlib.pyplot.subplots_adjust(*args, **kwargs) [source]

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

Вызов:

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 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_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_irregulardatagrid_thumb.png

Линии уровня для неравномерных данных

../../_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–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/2.2.3/api/_as_gen/matplotlib.pyplot.subplots_adjust.html

Spec-Zone.ru

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