fisher_plotting#
- class cosmicjellyfish.analysis.fisher_plotting.fisher_plotting(**options)[source]#
Bases:
objectThis class uses the cosmicfish_pylib classes to generate contour plots using getdist
- plot_fisher(**kwargs)[source]#
Generates a triangle plot based on loaded gaussian data and specified parameters.
- Parameters:
**kwargs – Keyword arguments for customizing the plot. axis_custom_factors (optional): Custom factors for axis limits. Default is None. filled (optional): Boolean value indicating whether contour plots should be filled or not. Default is True. contour_args (optional): List of dictionaries specifying contour plot arguments. Default is [{‘alpha’:0.9}]. legend_loc (optional): Location of the legend in the plot. Default is ‘upper right’. dpi (optional): Dots per inch for saving the plot to a file. Default is 300. file_format (optional): File format for saving the plot. Default is ‘.pdf’. marker_color (optional): Color of the axis markers. Default is ‘black’. axes_fontsize (optional): Font size for the axes labels. Default is 20. legend_fontsize (optional): Font size for the legend labels. Default is 20. figure_legend_frame (optional): Frame thickness for the figure legend. Default is 20. axes_labelsize (optional): Font size for the axes tick labels. Default is 20. figure_facecolor (optional): Facecolor of the figure. Default is ‘white’.
- Returns:
None
- Raises:
None –
- Usage:
- instance_name.plot_fisher(axis_custom_factors=create_factors(),
filled=True, contour_args=[{‘alpha’:0.7}], legend_loc=’lower left’, dpi=150, file_format=’.png’, marker_color=’red’, axes_fontsize=16, legend_fontsize=18, figure_legend_frame=10, axes_labelsize=14)