Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8a8523

Browse files
committed
fix polar plots, recovered two lines accidentally deleted in _backend_agg.cpp
svn path=/trunk/matplotlib/; revision=3579
1 parent 42484b2 commit e8a8523

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

lib/matplotlib/texmanager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ def __init__(self):
134134
self.font_info[font.lower()])
135135
break
136136
else:
137-
warnings.warn('No LaTeX-compatible font found for the %s font family in rcParams. Using default.' % ff)
137+
mpl.verbose.report('No LaTeX-compatible font found for \
138+
the %s font family in rcParams. Using default.' % ff, 'helpful')
138139
setattr(self, font_family_attr, font_family)
139140
fontconfig.append(getattr(self, font_family_attr)[0])
140141
self._fontconfig = ''.join(fontconfig)

mpl1/mtraits.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
wget http://peak.telecommunity.com/dist/ez_setup.py
99
sudo python ez_setup.py
1010
11-
sudo easy_install -f http://code.enthought.com/enstaller/eggs/source/unstable/ "enthought.etsconfig <3.0a" "enthought.util <3.0a" "enthought.debug <3.0a"
11+
sudo easy_install -f http://code.enthought.com/enstaller/eggs/source/unstable/ \
12+
"enthought.etsconfig <3.0a" "enthought.util <3.0a" "enthought.debug <3.0a"
1213
1314
svn co https://svn.enthought.com/svn/enthought/branches/enthought.traits_2.0 enthought_traits
1415

src/_backend_agg.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,6 +1528,8 @@ RendererAgg::draw_lines(const Py::Tuple& args) {
15281528
GCAgg gc = GCAgg(args[0], dpi, snapto);
15291529

15301530
set_clipbox_rasterizer(gc.cliprect);
1531+
//path_t transpath(path, xytrans);
1532+
_process_alpha_mask(gc);
15311533

15321534
Transformation* mpltransform = static_cast<Transformation*>(args[3].ptr());
15331535

0 commit comments

Comments
 (0)