lair.plotter.HandlerDashedLines#

class lair.plotter.HandlerDashedLines(marker_pad=0.3, numpoints=None, **kwargs)[source]#

Bases: HandlerLineCollection

Custom Handler for LineCollection instances.

https://stackoverflow.com/questions/31544489/two-line-styles-in-legend

There’s a potentially better version in the above link

This needs a new names and better documentation.

Methods

create_artists(legend, orig_handle, ...)

Return the line artists that draw orig_handle in the legend.