Zsailer / python-for-scientists

The easy way to set up Python for a scientist.
http://python-for-scientists.readthedocs.io/
8 stars 7 forks source link

plotting core page #7

Open Zsailer opened 6 years ago

Zsailer commented 6 years ago

Libraries to discuss on the "Scientific Python's plotting core"

Zsailer commented 6 years ago

I'm currently working on the plotting page. I am planning to create galleries for each plotting package.

Each gallery will show a few standard plots like:

Once I have the gallery logic in place, it should be easy to add examples. If anyone wants to take a crack at adding examples, that would be great!

lcwheeler commented 6 years ago

Cool, sounds good. I'd be happy to work on adding examples once you get the framework in place.

Zsailer commented 6 years ago

Initial implementation appears in PR #18

lcwheeler commented 6 years ago

Any idea why the updated plotting page isn't rendering on the webpage?

Zsailer commented 6 years ago

Forgot to include the sphinx_gallery extension in the requirements.txt. Fixing now.

lcwheeler commented 6 years ago

:+1:

Zsailer commented 6 years ago

Should be working now!

lcwheeler commented 6 years ago

Yep! Looks like it's working.

lcwheeler commented 6 years ago

heatmap 2D histogram

lcwheeler commented 6 years ago

@Zsailer how did you go about making all the thumbnail images exactly the same dimensions with white border?

lcwheeler commented 6 years ago

I am doing it manually in inkscape, just wondering if you had a more streamlined approach.

Zsailer commented 6 years ago

you'll need to install sphinx-gallery (pip install sphinx-gallery). Then, when you call make html locally on the docs, it will automatically build the thumbnails when it builds the docs.

Zsailer commented 6 years ago

I need to add this the the README in docs/README.md

lcwheeler commented 6 years ago

Okay, cool. Thanks!