When RVSearch does not find any significant signals to report, the process of creating the summary figure fails due to a gridspec error that claims:
Number of rows must be a positive integer, not {nrows}
ValueError: Number of rows must be a positive integer, not 0
Because RadVel's plot_multipanel() function has a default setting of nophase=False, gridspec tries to create rows in the summary figure equal to the number of planets detected. And if that number of planets is 0, then it throws the above error.
Updating the figure command just under the "#Generate an orbit plot" section in RVSearch to flip the nophase keyword depending on whether or not signals are discovered (as shown below) has fixed this issue for me and may help others as well :)
When RVSearch does not find any significant signals to report, the process of creating the summary figure fails due to a gridspec error that claims:
Because RadVel's plot_multipanel() function has a default setting of nophase=False, gridspec tries to create rows in the summary figure equal to the number of planets detected. And if that number of planets is 0, then it throws the above error.
Updating the figure command just under the "#Generate an orbit plot" section in RVSearch to flip the nophase keyword depending on whether or not signals are discovered (as shown below) has fixed this issue for me and may help others as well :)