You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the only question here (and the problem I have with all _repr_..._ methods, is what the default formatting options should be. If we add this we might also want a way to control, via an instance attribute, what the default LaTeX formatting options are for a table (if it doesn't already exist).
Hey, @aaryapatil and @hamogu, has this issue been worked on before?
There are many open issues marked Package-novice etc. but have had a Pull Request or two.
@Suyog7130 As long as an issue is open, you can work on it. Often, someone tried their hand (e.g. for GSOC applications!) but it did not work out. You can go to the linked pull requests and see what worked, what did not and why it was not finished. However, in this particular case, I don't think anyone has worked on exactly this issue.
Activity
embray commentedon Jul 17, 2015
I guess the only question here (and the problem I have with all
_repr_..._methods, is what the default formatting options should be. If we add this we might also want a way to control, via an instance attribute, what the default LaTeX formatting options are for a table (if it doesn't already exist).taldcroft commentedon Jul 17, 2015
It's not a totally robust or future-proof idea, but the
latexdictargs (http://astropy.readthedocs.org/en/latest/api/astropy.io.ascii.Latex.html#astropy.io.ascii.Latex) that control how a table is formatted into latex could be just stored in the table viameta['latexdict'], and_repr_latex_would know to look for that to supply defaults.embray commentedon Jul 17, 2015
Seems good enough to me for starters.
taldcroft commentedon Jul 17, 2015
OK @Cadair you are clear to code! 😄
taldcroft commentedon Jul 17, 2015
(And find a way to feel like you are writing your thesis without actually writing it.)
Suyog7130 commentedon Apr 2, 2021
Hey, @aaryapatil and @hamogu, has this issue been worked on before?
There are many open issues marked Package-novice etc. but have had a Pull Request or two.
hamogu commentedon Apr 2, 2021
@Suyog7130 As long as an issue is open, you can work on it. Often, someone tried their hand (e.g. for GSOC applications!) but it did not work out. You can go to the linked pull requests and see what worked, what did not and why it was not finished. However, in this particular case, I don't think anyone has worked on exactly this issue.
add _repr_latex_() method to table.Table
add _repr_latex_() method to table.Table
Merge pull request #11508 from Suyog7130/fix-3972
add _repr_latex_() method to table.Table
Revert "Add _repr_latex_ method to table.Table and test for it, fix for
Merge pull request #11711 from astropy/revert-11508-fix-3972
Merge pull request #11711 from astropy/revert-11508-fix-3972