A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mpl-visual-context.readthedocs.io/en/latest/examples/panel/panel_simple.html below:

Simple Panel — mpl_visual_context 0.9.3 documentation

mpl_visual_context Simple Panel
import matplotlib.pyplot as plt

from mpl_visual_context.axes_panel import PanelMaker

fig, axs = plt.subplots(1, 2, num=1, clear=True)

ax = axs[0]
title_panel = PanelMaker(ax).add_panel("top", "empty", pad=0.0)

title_panel.anchor("SESSION 12", loc="lower left", size=15, borderpad=0.5)
title_panel.anchor(r"$\sigma=2.3$", loc="lower right")

ax = axs[1]
title_panel = PanelMaker(ax, mode="divider").add_panel(
    "top", "empty", pad=0.0, axes_kwargs=dict(fc="k")
)

title_panel.anchor("SESSION 12", loc="lower left", color="w", size=15, borderpad=0.5)
title_panel.anchor(r"$\sigma=2.3$", color="w", loc="lower right")


plt.show()

Total running time of the script: (0 minutes 0.220 seconds)

Gallery generated by Sphinx-Gallery


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4