Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

MAINT cleaning up of gallery examples. #7972

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

Merged
merged 2 commits into from
Jan 29, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
MAINT cleaning up of gallery examples.
refs #7956
  • Loading branch information
NelleV committed Jan 28, 2017
commit 9131263a39ec83d9c7e70b809d62548e40a7ec50
200 changes: 0 additions & 200 deletions 200 examples/api/sankey_demo_old.py

This file was deleted.

13 changes: 0 additions & 13 deletions 13 examples/misc/sample_data_demo.py

This file was deleted.

33 changes: 0 additions & 33 deletions 33 examples/pylab_examples/text_handles.py

This file was deleted.

50 changes: 0 additions & 50 deletions 50 examples/pylab_examples/toggle_images.py

This file was deleted.

3 changes: 0 additions & 3 deletions 3 examples/tests/backend_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@
'log_test.py',
'major_minor_demo1.py',
'major_minor_demo2.py',
'manual_axis.py',
'masked_demo.py',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you didn't actually remove manual_axis.py. I unticked the box in #7956.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eh, that's a mistake on my end.

'mathtext_demo.py',
'mathtext_examples.py',
Expand Down Expand Up @@ -237,7 +236,6 @@
'subplots_adjust.py',
'symlog_demo.py',
'table_demo.py',
'text_handles.py',
'text_rotation.py',
'text_rotation_relative_to_line.py',
'transoffset.py',
Expand Down Expand Up @@ -307,7 +305,6 @@
# examples that generate multiple figures

excluded = {
'pylab': ['__init__.py', 'toggle_images.py', ],
'units': ['__init__.py', 'date_support.py', ],
}

Expand Down
30 changes: 0 additions & 30 deletions 30 lib/matplotlib/sankey.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,6 @@

import six
from six.moves import zip

# Original version by Yannick Copin (ycopin@ipnl.in2p3.fr) 10/2/2010, available
# at:
# http://matplotlib.org/examples/api/sankey_demo_old.html
# Modifications by Kevin Davies (kld@alumni.carnegiemellon.edu) 6/3/2011:
# --Used arcs for the curves (so that the widths of the paths are uniform)
# --Converted the function to a class and created methods to join multiple
# simple Sankey diagrams
# --Provided handling for cases where the total of the inputs isn't 100
# Now, the default layout is based on the assumption that the inputs sum to
# 1. A scaling parameter can be used in other cases.
# --The call structure was changed to be more explicit about layout,
# including the length of the trunk, length of the paths, gap between the
# paths, and the margin around the diagram.
# --Allowed the lengths of paths to be adjusted individually, with an option
# to automatically justify them
# --The call structure was changed to make the specification of path
# orientation more flexible. Flows are passed through one array, with
# inputs being positive and outputs being negative. An orientation
# argument specifies the direction of the arrows. The "main"
# inputs/outputs are now specified via an orientation of 0, and there may
# be several of each.
# --Changed assertions to ValueError to catch common calling errors (by
# Francesco Montesano, franz.bergesung@gmail.com)
# --Added the physical unit as a string argument to be used in the labels, so
# that the values of the flows can usually be applied automatically
# --Added an argument for a minimum magnitude below which flows are not shown
# --Added a tapered trunk in the case that the flows do not sum to 0
# --Allowed the diagram to be rotated

import numpy as np

from matplotlib.cbook import iterable, Bunch
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.