-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
DOC: name not defined in section "2.14.1 Basic plotting: plot" #38451
Comments
Thanks @gepcel for the report - are you interested in submitting a pull request to fix this? |
Sure. I'd like to. |
I know this should be a very easy pr that should take less than one minute for an expert, but I need some guidance for something. From what I understand, to fix this, I need to put some imports at the beginning of file
But what I don't understand is why some other files without the imports at the beginning are built without error, for example:
|
Thanks @gepcel for looking into this. I don't think any changes are needed to the documentation as the HTML pages are generated fine. https://pandas.pydata.org/docs/user_guide/visualization.html The problem is in the pdf generation, where the header that includes imports is incorrectly generated. will look some more |
Some information somewhere gave me an impression that the header part |
@simonjayhawkins It is actually weird that there is an But compared with other chapters like The header in 'visualization.rst':
And the header in
There seems no difference here. And can someone help me what does And there's another thing, due to the pdf documents, the header works fine in But when I try to build the document for testing, there are errors:
|
Did some more research, I think the part doing the pre-imports for latex format is
|
@jreback Before I understand the mechanism here, the only solution I know is to put the imports at the head of the chapter, like:
I don't think this is the right solution because of the puzzles I mentioned before. I'll continue to dig and search around and test my ideas. Any help is appreciated. It's also fine by me for someone to take this over. |
The lastest uploaded PDF also has the problems in the visualization section. for the release we do
I did manage to get the viz section to work, at some point, but IIRC other sections were corrupted. I can't remember the order, maybe a clean and build the pdf before the html pages or maybe just run the so I don't think the docs need to change, but not sure why when we run and IIRC running |
I've set up developing environments with both windows 10 and ubuntu. The problem is the During the HTML building, |
In the pdf version of document, section "User Guide -> Visualization -> 2.14.1 Basic plotting: plot", page 588, there are
name 'pd' (or 'ts') is not defined
problems.The text was updated successfully, but these errors were encountered: