Skip to content
Snippets Groups Projects
Commit 8de468d0 authored by Cedric Verstege's avatar Cedric Verstege
Browse files

Add inline label helper

parent c4336c68
Branches
No related tags found
No related merge requests found
......@@ -21,3 +21,15 @@ def merge_legend_handles_labels(handles, labels):
seen_label_handles[i] = tuple(seen_label_handles[i])
return seen_label_handles, seen_labels
def inline_label(ax, label):
return ax.text(
0.03,
0.97,
label,
fontsize=24,
verticalalignment="top",
fontproperties="Tex Gyre Heros:italic",
transform=ax.transAxes,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment