summaryrefslogtreecommitdiff
path: root/pint/babel_names.py
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-12 22:44:45 +0000
committerGitHub <noreply@github.com>2019-12-12 22:44:45 +0000
commitdead33a174ea3b73519c372356f3eca3fe444752 (patch)
treead3baa7784f8770f1a32c8f7668c2c5b04c4d6d2 /pint/babel_names.py
parent5109e05fe89e18258a5cc88f444d80cfb7d18cce (diff)
parent227aabeaf5025834ce50ccfca642d02e3062c93b (diff)
downloadpint-dead33a174ea3b73519c372356f3eca3fe444752.tar.gz
Merge #928
928: Pretty print fixes r=hgrecco a=crusaderky Closes #927 **Important:** I am knowledgeable neither of LateX nor of HTML portability problems. I would like to hear from someone more experienced. The tests below are the only ones I performed. Manual tests, performed in latest Jupyter Notebook both Chrome and in Firefox: ```python import pint from IPython.display import display_html, display_latex a = [[1, 2], [3, 4]] display_html(pint.Quantity(a, "m^2 / s")) display_latex(pint.Quantity(a, "m^2 / s")) display_html(pint.Quantity(a, "oil_barrel")) display_latex(pint.Quantity(a, "oil_barrel")) ``` Before: ![before](https://i.postimg.cc/bNSJQTsK/before.png) After: ![after](https://i.postimg.cc/C16h8BYh/after.png) Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
Diffstat (limited to 'pint/babel_names.py')
0 files changed, 0 insertions, 0 deletions