wiggle

function of dascore.viz.wiggle source

wiggle(
    patch: Patch ,
    dim = time,
    color = black,
    ax: Axes | None = None,
    show = False,
)-> ‘plt.Figure’

Parameters

patch The Patch object. ax A matplotlib object, if None create one. color Color of wiggles timefmt The format for the time axis. show If True, show the plot, else just return axis.

Examples

Plot the default patch

import dascore as dc patch = dc.get_example_patch()

Parameters

Parameter Description
patch The Patch object.
ax A matplotlib object, if None create one.
color Color of wiggles
timefmt The format for the time axis.
show If True, show the plot, else just return axis.

Examples

# Plot the default patch
import dascore as dc
patch = dc.get_example_patch()
_ = patch.viz.wiggle()
Error in callback <function _draw_all_if_interactive at 0x7f20f48bb760> (for post_execute):
OverflowError: int too big to convert
OverflowError: int too big to convert
<Figure size 672x480 with 1 Axes>