import matplotlib
import numpy as np

matplotlib.rcParams["font.size"] = 6
matplotlib.rcParams["savefig.pad_inches"] = 0
matplotlib.rcParams["savefig.bbox"] = 'tight'

def mnras_size(cols=1, square=False):
    if cols==1:
        fig_width_pt = 240.
    else:
        fig_width_pt = 504.
    #Paper width = 504  for 2 columns
    #Col width = 240.0    #for single column
    inches_per_pt = 1.0/72.00              # Convert pt to inches
    golden_mean = (np.sqrt(5)-1.0)/2.0         # Most aesthetic ratio
    fig_width = fig_width_pt*inches_per_pt  # Figure width in inches
    if square:
        fig_height = fig_width
    else:
        fig_height = fig_width*golden_mean
    fig_size = [fig_width,fig_height]
    return fig_size
6a396bf42b96e98a84624b085bc3ed100a6a8e2b
<mask token>

<mask token>


def mnras_size(cols=1, square=False):
    if cols == 1:
        fig_width_pt = 240.0
    else:
        fig_width_pt = 504.0
    inches_per_pt = 1.0 / 72.0
    golden_mean = (np.sqrt(5) - 1.0) / 2.0
    fig_width = fig_width_pt * inches_per_pt
    if square:
        fig_height = fig_width
    else:
        fig_height = fig_width * golden_mean
    fig_size = [fig_width, fig_height]
    return fig_size

<mask token>
matplotlib.rcParams['font.size'] = 6
matplotlib.rcParams['savefig.pad_inches'] = 0
matplotlib.rcParams['savefig.bbox'] = 'tight'


def mnras_size(cols=1, square=False):
    if cols == 1:
        fig_width_pt = 240.0
    else:
        fig_width_pt = 504.0
    inches_per_pt = 1.0 / 72.0
    golden_mean = (np.sqrt(5) - 1.0) / 2.0
    fig_width = fig_width_pt * inches_per_pt
    if square:
        fig_height = fig_width
    else:
        fig_height = fig_width * golden_mean
    fig_size = [fig_width, fig_height]
    return fig_size

import matplotlib
import numpy as np
matplotlib.rcParams['font.size'] = 6
matplotlib.rcParams['savefig.pad_inches'] = 0
matplotlib.rcParams['savefig.bbox'] = 'tight'


def mnras_size(cols=1, square=False):
    if cols == 1:
        fig_width_pt = 240.0
    else:
        fig_width_pt = 504.0
    inches_per_pt = 1.0 / 72.0
    golden_mean = (np.sqrt(5) - 1.0) / 2.0
    fig_width = fig_width_pt * inches_per_pt
    if square:
        fig_height = fig_width
    else:
        fig_height = fig_width * golden_mean
    fig_size = [fig_width, fig_height]
    return fig_size

import matplotlib
import numpy as np

matplotlib.rcParams["font.size"] = 6
matplotlib.rcParams["savefig.pad_inches"] = 0
matplotlib.rcParams["savefig.bbox"] = 'tight'

def mnras_size(cols=1, square=False):
    if cols==1:
        fig_width_pt = 240.
    else:
        fig_width_pt = 504.
    #Paper width = 504  for 2 columns
    #Col width = 240.0    #for single column
    inches_per_pt = 1.0/72.00              # Convert pt to inches
    golden_mean = (np.sqrt(5)-1.0)/2.0         # Most aesthetic ratio
    fig_width = fig_width_pt*inches_per_pt  # Figure width in inches
    if square:
        fig_height = fig_width
    else:
        fig_height = fig_width*golden_mean
    fig_size = [fig_width,fig_height]
    return fig_size