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

tripcolor documentation rendering error . #7803

Closed
stilley2 opened this issue Jan 11, 2017 · 6 comments
Closed

tripcolor documentation rendering error . #7803

stilley2 opened this issue Jan 11, 2017 · 6 comments
Labels
Difficulty: Easy https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues Documentation
Milestone

Comments

@stilley2
Copy link
Contributor

The documentation at

triangles use the kwarg *facecolors*=C instead of just *C*.
does not render properly (see tripcolor documentation here http://matplotlib.org/api/axes_api.html).
A couple of the '*' are being used for formatting while a couple are printed literally. I'll try to make a PR when I get some more time.

@tacaswell tacaswell added this to the 2.0.1 (next bug fix release) milestone Jan 11, 2017
@tacaswell tacaswell added Documentation new-contributor-friendly Difficulty: Easy https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues labels Jan 11, 2017
@tacaswell
Copy link
Member

http://matplotlib.org/api/axes_api.html#matplotlib.axes.Axes.tripcolor is a direct link to the offending entry.

exact work:

  • fix the rst markup in the docstring

@stilley2 do you mind if someone takes care of this before you do?

@stilley2
Copy link
Contributor Author

Not at all

@rishikksh20
Copy link
Contributor

Am I eligible to take this ?

@dstansby
Copy link
Member

The 2nd example figure also has a title that runs off the left hand edge, perhaps that could be fixed at the same time too. (http://matplotlib.org/mpl_examples/pylab_examples/tripcolor_demo_01.png)

@jenshnielsen
Copy link
Member

@rishikksh20
@stilley2 confirmed above that he is happy for someone else to work on it so your contribution fixing this would be very welcome

@rishikksh20
Copy link
Contributor

Getting following error while building matplotlib doc :

Warning, treated as error:
/home/rishikesh/Dev/Open_Source/matplotlib/doc/examples/mplot3d/pathpatch3d_demo.rst:8: WARNING: Exception occurred in plotting pathpatch3d_demo
from /home/rishikesh/Dev/Open_Source/matplotlib/doc/mpl_examples/mplot3d/pathpatch3d_demo.py:
Traceback (most recent call last):
 File "/home/rishikesh/Dev/Open_Source/matplotlib/lib/matplotlib/sphinxext/plot_directive.py", line 525, in run_code
   six.exec_(code, ns)
 File "<string>", line 61, in <module>
 File "<string>", line 32, in text3d
 File "/home/rishikesh/Dev/Open_Source/matplotlib/lib/matplotlib/textpath.py", line 450, in __init__
   usetex=usetex)
 File "/home/rishikesh/Dev/Open_Source/matplotlib/lib/matplotlib/textpath.py", line 530, in text_get_vertices_codes
   verts, codes = text_to_path.get_text_path(prop, s, usetex=True)
 File "/home/rishikesh/Dev/Open_Source/matplotlib/lib/matplotlib/textpath.py", line 152, in get_text_path
   glyph_info, glyph_map, rects = self.get_glyphs_tex(prop, s)
 File "/home/rishikesh/Dev/Open_Source/matplotlib/lib/matplotlib/textpath.py", line 305, in get_glyphs_tex
   dviread.find_tex_file('pdftex.map'))
 File "/home/rishikesh/Dev/Open_Source/matplotlib/lib/matplotlib/dviread.py", line 985, in find_tex_file
   stderr=subprocess.PIPE)
 File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
   restore_signals, start_new_session)
 File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
   raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'kpsewhich'

Building HTML failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: Easy https://matplotlib.org/devdocs/devel/contribute.html#good-first-issues Documentation
Projects
None yet
Development

No branches or pull requests

5 participants