mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
Merge branch 'develop' into documentation
This commit is contained in:
commit
66ebbd2669
6 changed files with 6 additions and 6 deletions
|
@ -34,7 +34,7 @@
|
|||
"source": [
|
||||
"plt.style.use('./base_style.mplstyle')\n",
|
||||
"import shutil\n",
|
||||
"usetex = shutil.which('latex') != ''\n",
|
||||
"usetex = shutil.which('latex') not in ('', None)\n",
|
||||
"plt.rc('text', usetex=usetex)"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
"source": [
|
||||
"plt.style.use('./base_style.mplstyle')\n",
|
||||
"import shutil\n",
|
||||
"usetex = shutil.which('latex') != ''\n",
|
||||
"usetex = shutil.which('latex') not in ('', None)\n",
|
||||
"plt.rc('text', usetex=usetex)"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"source": [
|
||||
"plt.style.use('./base_style.mplstyle')\n",
|
||||
"import shutil\n",
|
||||
"usetex = shutil.which('latex') != ''\n",
|
||||
"usetex = shutil.which('latex') not in ('', None)\n",
|
||||
"plt.rc('text', usetex=usetex)"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"source": [
|
||||
"plt.style.use('./base_style.mplstyle')\n",
|
||||
"import shutil\n",
|
||||
"usetex = shutil.which('latex') != ''\n",
|
||||
"usetex = shutil.which('latex') not in ('', None)\n",
|
||||
"plt.rc('text', usetex=usetex)"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"source": [
|
||||
"plt.style.use('./base_style.mplstyle')\n",
|
||||
"import shutil\n",
|
||||
"usetex = shutil.which('latex') != ''\n",
|
||||
"usetex = shutil.which('latex') not in ('', None)\n",
|
||||
"plt.rc('text', usetex=usetex)"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -88,7 +88,7 @@ def read_hd5(filestem, ens_id, group, attrs=None, idl=None, part="real"):
|
|||
|
||||
path_obj = Path(filestem)
|
||||
path = path_obj.parent.as_posix()
|
||||
filestem = path_obj.stem
|
||||
filestem = path_obj.name
|
||||
|
||||
files, idx = _get_files(path, filestem, idl)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue