Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Extra indentation in output block? #109

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

Closed
adrn opened this issue Mar 24, 2016 · 2 comments
Closed

Extra indentation in output block? #109

adrn opened this issue Mar 24, 2016 · 2 comments

Comments

@adrn
Copy link
Contributor

adrn commented Mar 24, 2016

It seems that, for output blocks with more than one line, the first line is indented. Is this a bug, or is there some way to tell sphinx-gallery not to do this?

See, for example, http://sphinx-gallery.readthedocs.org/en/latest/auto_examples/plot_strings.html#sphx-glr-auto-examples-plot-strings-py

@Titan-C
Copy link
Member

Titan-C commented Mar 25, 2016

Yes this a bug. There should not be this indentation. I'll try to get to it in the next weeks. You are also welcome to try a fix yourself. You would only need to change in sphing_gallery/gen_rst.py the string variable that holds the output and check why it gives the rst file an extra indent

@GaelVaroquaux
Copy link
Contributor

GaelVaroquaux commented Mar 25, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants