Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latex Array - vertical divider displays incorrectly #2556

Closed
CFrez opened this issue Jan 5, 2021 · 1 comment
Closed

Latex Array - vertical divider displays incorrectly #2556

CFrez opened this issue Jan 5, 2021 · 1 comment
Labels
type:bug Something isn't working

Comments

@CFrez
Copy link
Contributor

CFrez commented Jan 5, 2021

Summary

When using the array inside latex, if a vertical divider is added it looks like a censor bar. The same error occurs in all three locations, left, right and between.

Steps to reproduce

columns used for purpose of smaller screenshot.

Code snippet:

r'''
$\begin{array}{|rr}
aaa & b \\
c   & ddd \\
\end{array}$

$\begin{array}{r|r}
aaa & b \\
c   & ddd \\
\end{array}$

$\begin{array}{rr|}
aaa & b \\
c   & ddd \\
\end{array}$
'''

r'''
$\begin{array}{|l|r|c|}
\sqrt{a^2 + b^2} & \sqrt{b^2 + c^2} & \sqrt{c^2 + d^2} \\
\frac{1}{a} & \frac{1}{b} & \frac{1}{c} &  \\
\end{array}$
'''

Expected behavior:

st-array-expected

Actual behavior:

st-array-actual

It seems like it receives a svg path instead of a right border for the vertical separator?

Debug info

  • Streamlit version: 0.73.1
  • Python version: 3.9.1
  • Using Pipenv version 2020.11.15
  • OS version: mac Big Sur 11.0.1
  • Browser version:
    • Developer Firefox: 85.0b3
    • Safari 14.0.1
    • Chrome 87.0.04280.88
@CFrez CFrez added type:bug Something isn't working status:needs-triage Has not been triaged by the Streamlit team labels Jan 5, 2021
@karriebear karriebear mentioned this issue Feb 3, 2021
2 tasks
@vdonato
Copy link
Collaborator

vdonato commented Feb 5, 2021

Looks like this was fixed by #2619, but the GitHub magic words that close associated issues wasn't included in that PR description

@vdonato vdonato closed this as completed Feb 5, 2021
@kmcgrady kmcgrady removed the status:needs-triage Has not been triaged by the Streamlit team label May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants