Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
MEP 12: Gallery cleanup and reorganization#1623
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes from1 commit
Commits
Show all changes
35 commits Select commitHold shift + click to select a range
31c4b57
STY: Refactor string formatting/templating
tonysyua16e793
Clean-up and move scatter_demo
tonysyua22ed53
Cleanup and move fill_demo
tonysyu48caac8
Cleanup and move pie_demo
tonysyu7f1887b
Cleanup and move errorbar_demo.
tonysyub10a877
Cleanup and move fill_demo2
tonysyu6995e54
Cleanup and move histogram_demo
tonysyu48fab58
Cleanup and move hinton_demo
tonysyue9bfbb9
Cleanup and move image_demo3.py
tonysyu87aba29
DOC: Minor rewording
tonysyuc0f42d7
Fix doc build to search in new example sections.
tonysyue244d9b
Cleanup and move subplot_demo
tonysyu002ca7a
Update example section titles
tonysyu402b301
Cleanup and move unicode_demo
tonysyu529d9f7
Consolidate histogram examples
tonysyu6acc43a
Cleanup and move vertical_ticklabels demo
tonysyu7f7c013
Cleanup and move clippath_demo
tonysyuab417eb
Rename imshow_demo to image_demo
tonysyu5a77ad8
Cleanup and move polar_bar demo
tonysyue4dce4e
Cleanup and move polar scatter demo
tonysyucc18501
Cleanup and move text themes demo
tonysyud02d560
Cleanup and move path_patch demo
tonysyuec8a487
Clean up and move integral demo
tonysyuacc69cc
Extract spines_demo_bounds from spine_placement_demo
tonysyu800deb4
Extract spines_demo from spine_placement_demo
tonysyuedce62b
Cleanup integral_demo
tonysyu405cbc5
Cleanup and move dash_control demo
tonysyu30a85ba
Clean up and move color_cycle demo
tonysyu7175e06
Tweak subplot layout to prevent label clipping
tonysyu5020952
Add colormap references based on show_colormaps
tonysyufae23d6
Clean up and move artist demo
tonysyuabfdea4
Clean up and move streamplot demos
tonysyu8f4be5b
Combine colormap reference examples
tonysyu917c329
Clean up and move barh_demo
tonysyu1e579d8
STY: Combine declarations of example directories
tonysyuFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Clean-up and move scatter_demo
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commita16e7934584cd9c7b5c686bdb6bad58729d47367
There are no files selected for viewing
10 changes: 0 additions & 10 deletionsexamples/pylab_examples/scatter_demo.py
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
14 changes: 14 additions & 0 deletionsexamples/shapes_and_collections/scatter_demo.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
""" | ||
Simple demo of a scatter plot. | ||
""" | ||
import numpy as np | ||
import matplotlib.pyplot as plt | ||
N = 50 | ||
x = np.random.rand(N) | ||
y = np.random.rand(N) | ||
area = np.pi * (15 * np.random.rand(N))**2 # 0 to 15 point radiuses | ||
plt.scatter(x, y, s=area, alpha=0.5) | ||
plt.show() |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.