chicolucio / pH-diagrams

A Python package to plot fractional composition diagrams and pH-log c diagrams
https://phdiagrams.herokuapp.com/
MIT License
4 stars 2 forks source link

Resolver questão das fórmulas #5

Closed chicolucio closed 2 years ago

chicolucio commented 3 years ago

Possíveis soluções:

def formulas(output='latex'): ... if output == 'latex': ... if output == 'html': ... ...



Tendo, no momento, a considerar a solução com o `chempy` melhor.

Referências para problemas do Plotly com LaTeX:
- https://togithub.com/plotly/plotly.js/issues/559
- https://community.plotly.com/t/hovertemplate-does-not-show-name-property/36139
- https://stackoverflow.com/questions/64718655/plotly-fails-to-show-text-in-latex-labels-in-python
- https://community.plotly.com/t/latex-text-does-not-work-at-all-in-plotly-offline/13800
- https://togithub.com/plotly/plotly.py/issues/515
- https://community.plotly.com/t/latex-in-layout-title-does-not-work-properly/21585