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/mpl_visual_context.patheffects.Glow.html below:

mpl_visual_context.patheffects.Glow — mpl_visual_context 0.9.3 documentation

mpl_visual_context mpl_visual_context.patheffects.Glow
class mpl_visual_context.patheffects.Glow(n_glow_lines: int = 10, diff_linewidth: float = 1.05, alpha_line: float = 0.3, offset=(0, 0))

Patheffect with glow effect. Adopted from mplcybepunk. Each existing line is redrawn several times with increasing width and low alpha to create the glow effect.

Methods

draw_path(renderer, gc, tpath, affine, rgbFace)

Draw the path with updated gc.

__init__(n_glow_lines: int = 10, diff_linewidth: float = 1.05, alpha_line: float = 0.3, offset=(0, 0))
Parameters:

offset ((float, float), default: (0, 0)) – The (x, y) offset to apply to the path, measured in points.

Methods

__init__([n_glow_lines, diff_linewidth, ...])

draw_path(renderer, gc, tpath, affine, rgbFace)

Draw the path with updated gc.


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