This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from matplotlib import pyplot | |
from matplotlib.ticker import FuncFormatter | |
import numpy as np | |
from yt.utilities.cosmology import Cosmology | |
import matplotlib as mpl | |
mpl.rcParams['axes.unicode_minus'] = False | |
def _z_from_t(t, pos): | |
global co |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import functools | |
import re | |
import sys | |
from unyt import \ | |
unyt_array, \ | |
unyt_quantity | |
from unyt.dimensions import \ | |
dimensionless, \ | |
length |