Spec-Zone.ru › Matplotlib 3.2

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

Contour plot of irregularly spaced data

Диаграмма уровня неравномерно распределённых данных

Subplots Adjust

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

Violin plot customization

Настройка диаграмм «скрипка»

Multiline

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

Controlling style of text and labels using a dictionary

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

Demo Parasite Axes2

Демонстрация подграфиков-паразитов 2

Table Demo

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

Rotating custom tick labels

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

Buttons

Кнопки

Check Buttons

Флажки

Radio Buttons

Радиокнопки

Slider Demo

Ползунок

Textbox

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

Pyplot tutorial

Урок по pyplot

Customizing Figure Layouts Using GridSpec and Other Functions

Настройка макета рисунков с помощью GridSpec и других функций

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

Spec-Zone.ru

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