MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / corner

Function corner

galleries/examples/specialty_plots/sankey_links.py:28–33  ·  view source on GitHub ↗

Generate a corner link.

(sankey)

Source from the content-addressed store, hash-verified

26
27
28def corner(sankey):
29 """Generate a corner link."""
30 prior = len(sankey.diagrams)
31 sankey.add(flows=[1, -1], orientations=[0, 1],
32 patchlabel=str(prior), facecolor='k',
33 prior=prior - 1, connect=(1, 0), alpha=0.5)
34
35
36fig = plt.figure()

Callers 1

sankey_links.pyFile · 0.85

Calls 1

addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…