Open tsyamamoto21 opened 2 months ago
That's fine! Thanks Takahiro
On Mon, Aug 26, 2024, 14:20 Takahiro S Yamamoto @.***> wrote:
I got an error when I went through the ODW tutorial.
Script is
flat_times,flat_freqs,flat_pows = pyhough.pm.flatten_spectrogram(times["H1"],freqs,normalized_power) pyhough.pm.python_plot_triplets((flat_times-flat_times[0])/86400,flat_freqs,flat_pows,'.',label='equalized power')
The error is
ValueError: Unable to determine Axes to steal space for Colorbar. Either provide the cax argument to use as the Axes for the Colorbar, provide the ax argument to steal space from it, or add mappable to an Axes.
It would be addressed by explicitly providing ax as
plt.colorbar(sm, label=label, ax=plt.gca())
If it's okay, I will fix this.
— Reply to this email directly, view it on GitHub https://github.com/andrew-l-miller/pyhough/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAPSRIZGIXCS2LRTE4XQP2LZTMMSFAVCNFSM6AAAAABND4YAXKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4DMNZSHA2TMNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I got an error when I went through the ODW tutorial.
Script is
The error is
It would be addressed by explicitly providing ax as
If it's okay, I will fix this.