Normalize multiple circular plots

  • MNE version: e.g. 0.24.0
  • operating system: e.g. macOS 12

Hi,
I would appreciate some assistance to normalize the circular plot given in the image shown below.

the code that generated the image looks like this,

fig1 = plt.figure(num=None, figsize=(24, 8), facecolor='black')
plot_connectivity_circle(con_bf[0], n_lines=12, node_names = epochs.ch_names,
                          title='Delta '
                          ' Before $N_{2}O$ (WPLI)', colorbar_pos=(-0.4, 0.0), fontsize_names=10, fig=fig1, subplot=131)
plot_connectivity_circle(con_dr[0], n_lines=12, node_names = epochs.ch_names,
                          title='Delta '
                          ' During $N_{2}O$ (WPLI)', colorbar_pos=(-0.4, 0.0), fontsize_names=10, fig=fig1, subplot=132)
plot_connectivity_circle(con_af[0], n_lines=12, node_names = epochs.ch_names,
                          title='Delta '
                          ' After $N_{2}O$ (WPLI)', colorbar_pos=(-0.4, 0.0), fontsize_names=10, fig=fig1, subplot=133)

fig1.tight_layout()

I want to have a single colorbar for all the circular plots. Any suggestion?

Hi,

You could try to use vmin, vmax to set lower and upper values for the colormap and hide colorbar using colorbar=False for two of the circle plots.

Cheers !

1 Like

Okay. Wouldn’t it apply to only the last circular plot? I will give it a try anyway.

if you use the same vmin and vmax for all three plots, then the colorbar will be equally correct for all of them.

1 Like