Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit ef90c7e9 authored by ulrich_y's avatar ulrich_y
Browse files

#13 and #17: default mulifies

parent 14ad90d2
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ from matplotlib import rc
from colours import *
from errortools import *
import mpl_axes_aligner
from mule import mulify
rc('text', usetex=True)
......@@ -156,12 +157,12 @@ def twopanel(labelx,
return fig, axs
def kplot(sigma, labelx='x_e', labelsigma=None,
def kplot(sigma, labelx='$x_e$', labelsigma=None,
labelknlo="$K^{(1)}$", labelknnlo="$K^{(2)}$",
show=[0,-1], showk=[1,2]):
show=[0,-1], showk=[1,2], nomule=False):
if labelsigma is None:
labelsigma = r"$\D\sigma\,/\,\D " + labelx + "$"
labelsigma = r"$\D\sigma$"
kwargs = {
"labelx": labelx,
......@@ -228,4 +229,6 @@ def kplot(sigma, labelx='x_e', labelsigma=None,
axs[1].axhline(1, color='black', linewidth=1, zorder=1)
if not nomule:
mulify(fig)
return fig, axs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment