Spec-Zone.ru › Matplotlib 2.1

matplotlib.pyplot.gca

matplotlib.pyplot.gca(**kwargs)

Получить текущий экземпляр Axes на текущем графике, соответствующий заданным ключевым аргументам, или создать его.

См. также

matplotlib.figure.Figure.gca
Метод gca фигуры.

Примеры

Чтобы получить текущие полярные оси на текущем графике:

plt.gca(projection='polar')

Если текущие оси не существуют или не являются полярными, будут созданы соответствующие оси, а затем возвращены.

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

../../_images/sphx_glr_custom_scale_example_thumb.png

Пользовательская шкала

../../_images/sphx_glr_pyplot_scales_thumb.png

Шкалы Pyplot

../../_images/sphx_glr_multiple_figs_demo_thumb.png

Демонстрация нескольких окон

../../_images/sphx_glr_tricontour_smooth_user_thumb.png

Tricontour плавный пользователь

../../_images/sphx_glr_contour_demo_thumb.png

Демонстрация контуров

../../_images/sphx_glr_contour_image_thumb.png

Контурная картинка

../../_images/sphx_glr_triplot_demo_thumb.png

Демонстрация Triplot

../../_images/sphx_glr_tricontour_demo_thumb.png

Демонстрация Tricontour

../../_images/sphx_glr_tripcolor_demo_thumb.png

Демонстрация Tripcolor

../../_images/sphx_glr_tricontour_smooth_delaunay_thumb.png

Tricontour плавный Делоне

../../_images/sphx_glr_usetex_fonteffects_thumb.png

Эффекты шрифтов Usetex

../../_images/sphx_glr_text_rotation_relative_to_line_thumb.png

Поворот текста относительно линии

../../_images/sphx_glr_rainbow_text_thumb.png

Радужный текст

../../_images/sphx_glr_text_alignment_thumb.png

Точное расположение текста

../../_images/sphx_glr_usetex_demo_thumb.png

Демонстрация Usetex

../../_images/sphx_glr_mathtext_examples_thumb.png

Примеры Mathtext

../../_images/sphx_glr_arrow_demo_thumb.png

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

../../_images/sphx_glr_simple_anchored_artists_thumb.png

Простые прикрепленные элементы

../../_images/sphx_glr_trifinder_event_demo_thumb.png

Демонстрация Trifinder Event

../../_images/sphx_glr_ginput_manual_clabel_sgskip_thumb.png

Интерактивные функции

../../_images/sphx_glr_set_and_get_thumb.png

Установить и получить

../../_images/sphx_glr_logo_thumb.png

Логотип

../../_images/sphx_glr_contour_manual_thumb.png

Контур Ручной

END_OF_DOCUMENT_MARKER
../../_images/sphx_glr_anchored_artists_thumb.png

Якорные элементы

../../_images/sphx_glr_symlog_demo_thumb.png

Демонстрация Symlog

../../_images/sphx_glr_hinton_demo_thumb.png

Диаграммы Хинтона

../../_images/sphx_glr_anscombe_thumb.png

Четверть Анскомба

../../_images/sphx_glr_pyplot_thumb.png

Урок по pyplot

../../_images/sphx_glr_legend_guide_thumb.png

Руководство по легендам

../../_images/sphx_glr_tight_layout_guide_thumb.png

Руководство по Tight Layout

© 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.gca.html

Spec-Zone.ru

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