Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changes/dev/13700.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix axis label overlap and rendering issues in :func:`~mne.viz.plot_volume_source_estimates` by replacing ``canvas.draw()`` with ``canvas.draw_idle()`` to avoid blitting artifacts, by :newcontrib:`Famous Raj Bhat`.
1 change: 1 addition & 0 deletions doc/changes/names.inc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
.. _Ezequiel Mikulan: https://github.com/ezemikulan
.. _Ezequiel Mikulan: https://github.com/ezemikulan
.. _Fahimeh Mamashli: https://github.com/fmamashli
.. _Famous Raj Bhat: https://github.com/Famous077
.. _Farzin Negahbani: https://github.com/Farzin-Negahbani
.. _Federico Raimondo: https://github.com/fraimondo
.. _Federico Zamberlan: https://github.com/fzamberlan
Expand Down
4 changes: 2 additions & 2 deletions mne/viz/_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2870,7 +2870,7 @@ def _press(event, params):
elif event.key == "shift+right":
idx = min(params["stc"].shape[1] - 1, idx + 10)
_update_timeslice(idx, params)
params["fig"].canvas.draw()
params["fig"].canvas.draw_idle()


def _update_timeslice(idx, params):
Expand Down Expand Up @@ -2921,7 +2921,7 @@ def _onclick(event, params, verbose=None):
else:
params["ax_time"].lines[0].set_ydata([0.0])
_update_vertlabel(loc_idx, params)
params["fig"].canvas.draw()
params["fig"].canvas.draw_idle()


def _cut_coords_to_idx(cut_coords, dist_to_verts):
Expand Down
Loading