using a blank label with ExtendableHeatmap.add_chipseq_track() should be easier

Issue #31 resolved
Thomas Gilgenast created an issue

currently ExtendableHeatmap.add_chipseq_track() uses its name kwarg for two purposes: setting the new axis's name in the ExtendableHeatmap instance, and as the text label drawn on the track

it is sometimes desirable to skip plotting the label, but there is no kwarg to do this; it is possible to do it by passing name='', but only for one track - the second track added must have a unique name (since the name is used as the key for the axis), e.g., name=' ', but this feels extremely hacky

this could be avoided if add_chipseq_track() accepted both name and label as kwargs, with label=None being the default and skipping labeling altogether

Comments (1)

  1. Log in to comment