A RetroSearch Logo

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

Search Query:

Showing content from https://python-graph-gallery.com/drawarrow below:

Website Navigation


DrawArrow: drawing arrows for matplotlib made easy

import matplotlib.pyplot as plt
from drawarrow import fig_arrow

fig, ax = plt.subplots(figsize=(10,10))

ax.scatter(x=[1, 2, 3, 4, 5], y=[4.3, 2, 3.2, 4, 5], s=300)

fig_arrow(
   tail_position=(0.2, 0.7),
   head_position=(0.5, 0.48),
   inflection_position=(0.4, 0.8),
   double_headed=True,
   fill_head=False,
   color="#003049",
   radius=0.1,
   alpha=0.8,
   width=5,
   head_width=10,
   head_length=10,
   mutation_scale=2
)

plt.show()

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