You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the plot_figure_for_fit function, in line 230 fit_result.plot_residuals(ax=axs[1], data_kws=FIT_PLOT_KWS["data_kws"], fit_kws=FIT_PLOT_KWS["fit_kws"]), the input FIT_PLOT_KWS["fit_kws"] includes color parameter. And the plot_residuals function in the lmfit package, in line 2183, ax.axhline(0, **fit_kws, color='k') itself has a color parameter, which will cause the following error:
The versions of My environment:
Describe the bug
When using the
plot_figure_for_fit
function, in line 230fit_result.plot_residuals(ax=axs[1], data_kws=FIT_PLOT_KWS["data_kws"], fit_kws=FIT_PLOT_KWS["fit_kws"])
, the inputFIT_PLOT_KWS["fit_kws"]
includescolor
parameter. And theplot_residuals
function in the lmfit package, in line 2183,ax.axhline(0, **fit_kws, color='k')
itself has acolor
parameter, which will cause the following error:Steps to reproduce the behavior
/randomized_benchmarking.ipynb)
I encountered the above error.
Possible solutions
I tried modifying FIT_PLOT_KWS, and it seems to be temporarily working.
The text was updated successfully, but these errors were encountered: