Merge branch 'develop' into documentation

This commit is contained in:
fjosw 2023-11-23 12:34:22 +00:00
commit 66ebbd2669
6 changed files with 6 additions and 6 deletions

View file

@ -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)"
]
},

View file

@ -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)"
]
},

View file

@ -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)"
]
},

View file

@ -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)"
]
},

View file

@ -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)"
]
},

View file

@ -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)