Skip to content

Commit 1caffef

Browse files
committed
Merge remote-tracking branch 'matplotlib/master'
2 parents 74270f6 + 114a38a commit 1caffef

File tree

11 files changed

+16
-19
lines changed

11 files changed

+16
-19
lines changed

doc/_templates/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ <h4>Need help?</h4>
131131
the <a href="{{ pathto('api/index') }}">api</a> docs,
132132
<a href="http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html">mailing
133133
list archives</a>, and join the matplotlib
134-
mailing <a href="http://sourceforge.net/mail/?group_id=80706">lists</a>.
134+
mailing lists <a href="https://mail.python.org/mailman/listinfo/matplotlib-users">Users</a>,
135+
<a href="https://mail.python.org/mailman/listinfo/matplotlib-announce">Announce</a> and
136+
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel">Devel</a>.
135137
Check out the matplotlib questions
136138
on <a href="http://stackoverflow.com/questions/tagged/matplotlib">stackoverflow</a>.
137139
The <a href="{{ pathto('search') }}">search</a> tool searches all of

doc/devel/gitwash/this_project.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
.. _matplotlib: http://matplotlib.org
33
.. _`matplotlib github`: http://github.com/matplotlib/matplotlib
44

5-
.. _`matplotlib mailing list`: https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
5+
.. _`matplotlib mailing list`: https://mail.python.org/mailman/listinfo/matplotlib-devel

doc/faq/howto_faq.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ Request a new feature
503503

504504
Is there a feature you wish matplotlib had? Then ask! The best
505505
way to get started is to email the developer `mailing
506-
list <matplotlib-devel@lists.sourceforge.net>`_ for discussion.
506+
list <matplotlib-devel@python.org>`_ for discussion.
507507
This is an open source project developed primarily in the
508508
contributors free time, so there is no guarantee that your
509509
feature will be added. The *best* way to get the feature
@@ -526,7 +526,7 @@ demonstrating what the bug is. Including a clear, easy to test
526526
example makes it easy for the developers to evaluate the bug. Expect
527527
that the bug reports will be a conversation. If you do not want to
528528
register with github, please email bug reports to the `mailing list
529-
<matplotlib-devel@lists.sourceforge.net>`_.
529+
<matplotlib-devel@python.org>`_.
530530

531531

532532
The easiest way to submit patches to matplotlib is through pull

doc/faq/troubleshooting_faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ There is a good chance your question has already been asked:
9292
If you are unable to find an answer to your question through search,
9393
please provide the following information in your e-mail to the
9494
`mailing list
95-
<http://lists.sourceforge.net/mailman/listinfo/matplotlib-users>`_:
95+
<https://mail.python.org/mailman/listinfo/matplotlib-users>`_:
9696

9797
* your operating system; (Linux/UNIX users: post the output of ``uname -a``)
9898

doc/glossary/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Glossary
8484

8585

8686
pytz
87-
`pytz <http://pytz.sourceforge.net/>`_ provides the Olson tz
87+
`pytz <http://pythonhosted.org/pytz/>`_ provides the Olson tz
8888
database in Python. it allows accurate and cross platform
8989
timezone calculations and solves the issue of ambiguous times at
9090
the end of daylight savings

doc/users/screenshots.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ Mathtext_examples
252252

253253
Below is a sampling of the many TeX expressions now supported by matplotlib's
254254
internal mathtext engine. The mathtext module provides TeX style mathematical
255-
expressions using `freetype2 <http://freetype.sourceforge.net/index2.html>`_
255+
expressions using `freetype2 <http://www.freetype.org/>`_
256256
and the BaKoMa computer modern or `STIX <http://www.stixfonts.org>`_ fonts.
257257
See the :mod:`matplotlib.mathtext` module for additional details.
258258

doc/users/text_intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ expressions, truetype support for raster and vector outputs, newline
88
separated text with arbitrary rotations, and unicode support. Because
99
we embed the fonts directly in the output documents, e.g., for postscript
1010
or PDF, what you see on the screen is what you get in the hardcopy.
11-
`freetype2 <http://freetype.sourceforge.net/index2.html>`_ support
11+
`freetype2 <http://www.freetype.org/>`_ support
1212
produces very nice, antialiased fonts, that look good even at small
1313
raster sizes. matplotlib includes its own
1414
:mod:`matplotlib.font_manager`, thanks to Paul Barrett, which

examples/event_handling/README.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,3 @@ events are aware of things like data coordinate space and whih axes
99
the event occurs in so you don't have to mess with low level
1010
transformation details to go from canvas space to data space. Object
1111
picking examples are also included.
12-
13-
There is an event handling tutorial at
14-
http://matplotlib.sourceforge.net/pycon/event_handling_tut.pdf. The
15-
ReST source for this document is included in the matplotlib source
16-
distribution.
17-
18-

lib/matplotlib/collections.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,8 @@ def get_facecolor(self):
617617
get_facecolors = get_facecolor
618618

619619
def get_edgecolor(self):
620-
if self._edgecolors == str('face'):
620+
if (isinstance(self._edgecolors, six.string_types)
621+
and self._edgecolors == str('face')):
621622
return self.get_facecolors()
622623
else:
623624
return self._edgecolors
@@ -678,7 +679,8 @@ def set_alpha(self, alpha):
678679
except (AttributeError, TypeError, IndexError):
679680
pass
680681
try:
681-
if self._edgecolors_original != str('face'):
682+
if (not isinstance(self._edgecolors_original, six.string_types)
683+
or self._edgecolors_original != str('face')):
682684
self._edgecolors = mcolors.colorConverter.to_rgba_array(
683685
self._edgecolors_original, self._alpha)
684686
except (AttributeError, TypeError, IndexError):

lib/matplotlib/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
assumed. If you want to use a custom time zone, pass a
3838
:class:`pytz.timezone` instance with the tz keyword argument to
3939
:func:`num2date`, :func:`plot_date`, and any custom date tickers or
40-
locators you create. See `pytz <http://pytz.sourceforge.net>`_ for
40+
locators you create. See `pytz <http://pythonhosted.org/pytz/>`_ for
4141
information on :mod:`pytz` and timezone handling.
4242
4343
The `dateutil module <http://labix.org/python-dateutil>`_ provides

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2005,7 +2005,7 @@ def colormaps():
20052005
jet()
20062006
20072007
The next set of palettes are from the `Yorick scientific visualisation
2008-
package <http://yorick.sourceforge.net/index.php>`_, an evolution of
2008+
package <http://dhmunro.github.io/yorick-doc/>`_, an evolution of
20092009
the GIST package, both by David H. Munro:
20102010
20112011
============ =======================================================

0 commit comments

Comments
 (0)