Skip to content

Commit

Permalink
solving issues with figures
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanfacchinetti committed Mar 15, 2024
1 parent 4dec9de commit d01bbed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/py21cmcast/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ def ellipse_from_covariance(cov_matrix, fiducial):
'SIGMA_8' : {'tex_name' : r'\sigma_8', 'min': -2, 'max': 1, 'ticks' : []},
'POWER_INDEX' : {'tex_name' : r'n_{\rm s}', 'min': -2, 'max': 1, 'ticks' : []},
'INVERSE_M_WDM' : {'tex_name' : r'1/m_{\rm WDM}', 'min': -2, 'max': 1, 'ticks' : []},
'NEUTRINO_MASS_1' : {'tex_name' : r'\sum m_\nu / 3', 'min': -2, 'max': 1, 'ticks' : []},
}


Expand Down Expand Up @@ -725,6 +726,12 @@ def prepare_2subplots(gridspec_kw = None, **kwargs) :



def close_figure(fig):
""" close the figure fig """
plt.close(fig)



def plot_func(x, func, **kwargs) :

"""
Expand Down

0 comments on commit d01bbed

Please sign in to comment.