We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I plot the colorbar on another axis (so I can align the scaleogram and the actual signal, vertically)
fig = plt.figure(constrained_layout=True) gs = fig.add_gridspec(2, 2, width_ratios=[0.95, 0.05]) ax1 = fig.add_subplot(gs[0, 0]) ax2 = fig.add_subplot(gs[1, 0]) ax3 = fig.add_subplot(gs[1, 1]) ax1.plot(time,signal) scg.cws(time, signal, ax=ax2, cbarkw={ 'cax':ax3 })
In this case the coi-line is plotted on the last added axis, here ax3 which is used for the colorbar.
ax3
This issue can be resolved by changing plt to ax in cws.py line 262
plt
ax
# plot the mask and forward user parameters ax.plot(xmesh, ymask)
The text was updated successfully, but these errors were encountered:
Duly noted, thanks @rainbowsend for the report, I will apply the change soon with a bunch of other small fixes.
Sorry, something went wrong.
alsauve
No branches or pull requests
I plot the colorbar on another axis (so I can align the scaleogram and the actual signal, vertically)
In this case the coi-line is plotted on the last added axis, here
ax3
which is used for the colorbar.This issue can be resolved by changing
plt
toax
in cws.py line 262The text was updated successfully, but these errors were encountered: