Skip to content

Commit 0de925d

Browse files
authored
Address how to get LaTeX formatting into labels.
1 parent 9c136f8 commit 0de925d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
Here you will find some (most?) of the [ProPlot](https://proplot.readthedocs.io/en/latest/index.html) examples from the documentation, but translated to Julia using [PyCall.jl](https://github.com/JuliaPy/PyCall.jl).
55

66
Note you must install ProPlot first. (And probably some other things.)
7-
* In order to get the colorbars to position/work properly, you need `xarray`. However, note that this causes glitches in LaTex formmatting - need to find a workaround (comment by natgeo-wong)
7+
* In order to get the colorbars to position/work properly, you need `xarray`. However, note that this causes glitches in LaTex formmatting (i.e. `xlabel=L"$\tau$"` doesn't work anymore.
8+
* In order to address the above, you need to install and use the Julia Package `LaTeXStrings.jl`. This package is inbuilt into `PyPlot.jl` and reexported for use, however here you must call it explicitly via `using LaTeXStrings`
89

910
---
1011

0 commit comments

Comments
 (0)