Closed zxdawn closed 9 months ago
Well, I can use HTML symbol instead of latex: 'Δx'
:
branca
doesn't ship any math JS libraries, only basic HTML is supported. One can easily write a plugin for Mathjax, etc though. I'm closing this b/c it is not in the scope of branca
.
Thanks for your reply. I realize that 'Δx'
works for the colormap caption. However, if I add it to folium map, it's not rendered:
from branca.colormap import linear
import folium
colormap_choice = linear.YlOrRd_04
vmin = 3.2
vmax = 10.3
colormap = colormap_choice.scale(vmin, vmax)
colormap.caption = 'Δx'
m = folium.Map()
colormap.add_to(m)
Any idea of this?
Most likely a bug in folium. Do you mind opening this issue there?
It seems the latex symbol $\Delta$ is neglected.