question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add plot directives

See original GitHub issue

Checklist to go through for (potentially) replacing python code + png import with the plot directive. This is just a project management issue to give contributors some direction.

Quickstart

http://www.scikit-yb.org/en/latest/quickstart.html quickstart.rst

  • bikeshare_rank2d.png
  • temp_feelslike_jointplot.png
  • bikeshare_ols_residuals.png
  • bikeshare_ridge_alphas.png
  • bikeshare_ridge_prediction_error.png

Gallery

… lots to do and figure out here …

update: we’ve made the gallery independent and created a script to generate the gallery docs (the plot directive didn’t work well in the gallery). See #732

Tutorial

update: this has been updated to use the new datasets module (see #818) but we’ve opted not to do the plot directive because it disrupts the flow of the tutorial and makes the docs take a long time to build

~Lot’s of split code here, so I’ll need to know how the team wants it formatted~

~http://www.scikit-yb.org/en/latest/tutorial.html# tutorial.rst~

~- [ ] modelselect_linear_svc.png~ ~- [ ] modelselect_nu_svc.png~ ~- [ ] modelselect_svc.png~ ~- [ ] modelselect_sgd_classifier.png~ ~- [ ] modelselect_kneighbors_classifier.png~ ~- [ ] modelselect_logistic_regression_cv.png~ ~- [ ] modelselect_logistic_regression.png~ ~- [ ] modelselect_bagging_classifier.png~ ~- [ ] modelselect_extra_trees_classifier.png~ ~- [ ] modelselect_random_forest_classifier.png~

API

Radviz

Rankd

Pcoords

PCA

Manifold

*update: we have opted not to use the plot directive for manifold because it makes the docs take a long time to build

~- [ ] Features\manifold concrete_tsne_manifold.png (this one has no accompanying code in rst)~ ~- [ ] Features\manifold occupancy_select_k_best_isomap_manifold.png~ ~- [ ] Features\manifold concrete_isomap_manifold.png~

Importances

RFECV

*update: we have opted not to use the plot directive for RFEVC because it makes the docs take a long time to build

~- [ ] Features\rfecv rfecv_sklearn_example.png~ ~- [ ] Features\rfecv rfecv_credit.png~

Joint plot

Note: Joint Plot documentation is updated in #728

Text Visualizers

DispersionPlot

Note that the docs/api/text/images/dispersion_docs.png image was not removed because it is being used in the gallery.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
rebeccabilbrocommented, Jul 23, 2019

Going to go ahead and mark this one complete! 🎉 Thanks for all the hard work to everyone who contributed to this massive but very worthwhile effort, with special thanks to @Kautumn06 @lwgray @pdamodaran for reviewing the large majority of the resulting PRs!

1reaction
lwgraycommented, Jul 23, 2019

no other suggestions from me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plot directive documentation — Matplotlib 3.1.3 documentation
Plot directive documentation¶ ... A directive for including a matplotlib plot in a Sphinx document. By default, in HTML output, plot will include ......
Read more >
Using the nbplot directive — nb2plots 0.6+1.g27fb228 ...
A directive for including a matplotlib plot in a Sphinx document. This directive is based on the plot directive of matplotlib, with thanks....
Read more >
Matplotlib 1.4.2 documentation
A directive for including a matplotlib plot in a Sphinx document. By default, in HTML output, plot will include a .png file with...
Read more >
Sphinx PyVista Plot Directive
A directive for including a PyVista plot in a Sphinx document# ... The .. pyvista-plot:: sphinx directive will include an inline .png image....
Read more >
plot directive in restructured text - python - Stack Overflow
extensions = ['matplotlib.sphinxext.plot_directive']. Add this to your conf.py to activate .. plot:: . Note: Sphinx directives start with ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found