From af1d770136ba1c0fbfd57992570804446d247deb Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 6 Dec 2017 20:47:49 +0800 Subject: Adjust plot axis label style a bit --- astro/eor_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'astro/eor_window.py') diff --git a/astro/eor_window.py b/astro/eor_window.py index 71f4cc2..4ea180e 100755 --- a/astro/eor_window.py +++ b/astro/eor_window.py @@ -291,8 +291,8 @@ class PS2D: # ax.set(xscale="log", yscale="log", xlim=(x[1], x[-1]), ylim=(y[1], y[-1]), - xlabel=r"k$_{\perp}$ [Mpc$^{-1}$]", - ylabel=r"k$_{||}$ [Mpc$^{-1}$]", + xlabel=r"$k_{\perp}$ [Mpc$^{-1}$]", + ylabel=r"$k_{||}$ [Mpc$^{-1}$]", title=title) cb = ax.figure.colorbar(mappable, ax=ax, pad=0.01, aspect=30) cb.ax.set_xlabel("[%s]" % self.unit) -- cgit v1.2.2