mne-python
mne-python copied to clipboard
MNE Report: Add Events produces cut-off plots. Can we do better?
For example, look at this screenshot, from a report where an Events section was added through report.add_events
:
☝️ The plot is "cut off" in the legend box, both in terms of height and width.
Furthermore, the y-axis ticklabels are very tightly squashed together
If I want to get the non-cutoff version of this plot, then I cannot currently use report.add_events
.
I need to replicate the plot myself using plot_events, setting a proper figure size, saving the plot using bbox_inches="tight"
, and then adding the file with add_image, which is a bit inconvenient.
Would it be reasonable to allow for a bit more customization on how much space report.add_events
may reserve for the plot? So that I could also produce plots that are not cut-off with the easier add_events workflow?