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

Skip to content

Commit 759c908

Browse files
committed
created mpl config dir
svn path=/trunk/matplotlib/; revision=1539
1 parent efa9ea6 commit 759c908

3 files changed

Lines changed: 25 additions & 10 deletions

File tree

MANIFEST

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.matplotlibrc
21
API_CHANGES
32
CHANGELOG
43
INSTALL
@@ -11,6 +10,7 @@ README
1110
TODO
1211
__init__.py
1312
makeswig.py
13+
matplotlibrc
1414
setup.py
1515
setupext.py
1616
CXX/Config.hxx
@@ -289,6 +289,7 @@ examples/README
289289
examples/__init__.py
290290
examples/accented_text.py
291291
examples/agg_oo.py
292+
examples/agg_resize.py
292293
examples/agg_test.py
293294
examples/alignment_test.py
294295
examples/anim.py
@@ -328,6 +329,7 @@ examples/dynamic_demo.py
328329
examples/dynamic_demo_wx.py
329330
examples/dynamic_image_gtkagg.py
330331
examples/dynamic_image_wxagg.py
332+
examples/dynamic_image_wxagg2.py
331333
examples/embedding_in_gtk.py
332334
examples/embedding_in_gtk2.py
333335
examples/embedding_in_qt.py
@@ -344,6 +346,7 @@ examples/figtext.py
344346
examples/fill_between.py
345347
examples/fill_between_posneg.py
346348
examples/fill_demo.py
349+
examples/fill_demo2.py
347350
examples/fill_spiral.py
348351
examples/finance_demo.py
349352
examples/font_indexing.py
@@ -418,6 +421,8 @@ examples/specgram_demo.py
418421
examples/stem_plot.py
419422
examples/stock_demo.py
420423
examples/subplot_demo.py
424+
examples/subplot_toolbar.py
425+
examples/subplots_adjust.py
421426
examples/system_monitor.py
422427
examples/table_demo.py
423428
examples/tex_demo.py
@@ -443,6 +448,11 @@ examples/data/lena.jpg
443448
examples/data/membrane.dat
444449
examples/data/msft.csv
445450
examples/data/s1045.ima
451+
examples/widgets/README
452+
examples/widgets/buttons.py
453+
examples/widgets/check_buttons.py
454+
examples/widgets/radio_buttons.py
455+
examples/widgets/sliders.py
446456
fonts/BaKoMa-CM.Fonts
447457
fonts/afm/cmex10.afm
448458
fonts/afm/cmmi10.afm
@@ -552,6 +562,9 @@ images/stock_zoom-in.ppm
552562
images/stock_zoom-in.xpm
553563
images/stock_zoom-out.ppm
554564
images/stock_zoom-out.xpm
565+
images/subplots.png
566+
images/subplots.ppm
567+
images/subplots.xpm
555568
images/zoom_to_rect.png
556569
images/zoom_to_rect.ppm
557570
images/zoom_to_rect.svg
@@ -586,6 +599,7 @@ lib/matplotlib/colors.py
586599
lib/matplotlib/contour.py
587600
lib/matplotlib/dates.py
588601
lib/matplotlib/figure.py
602+
lib/matplotlib/figure.py.orig
589603
lib/matplotlib/finance.py
590604
lib/matplotlib/font_manager.py
591605
lib/matplotlib/image.py
@@ -601,12 +615,16 @@ lib/matplotlib/texmanager.py
601615
lib/matplotlib/text.py
602616
lib/matplotlib/ticker.py
603617
lib/matplotlib/transforms.py
618+
lib/matplotlib/widgets.py
604619
lib/matplotlib/windowing.py
620+
lib/matplotlib.egg-info/PKG-INFO
621+
lib/matplotlib.egg-info/native_libs.txt
605622
lib/matplotlib/backends/.cvsignore
606623
lib/matplotlib/backends/__init__.py
607624
lib/matplotlib/backends/backend_agg.py
608625
lib/matplotlib/backends/backend_agg2.py
609626
lib/matplotlib/backends/backend_cairo.py
627+
lib/matplotlib/backends/backend_cocoaagg.py
610628
lib/matplotlib/backends/backend_fltkagg.py
611629
lib/matplotlib/backends/backend_gd.py
612630
lib/matplotlib/backends/backend_gdk.py
@@ -1297,6 +1315,7 @@ swig/agg_rasterizer_scanline_aa.i
12971315
swig/agg_renderer_base.i
12981316
swig/agg_renderer_scanline.i
12991317
swig/agg_scanline_bin.i
1318+
swig/agg_span_image_filter.i
13001319
swig/agg_trans_affine.i
13011320
swig/agg_typedefs.h
13021321
swig/agg_typemaps.i

lib/matplotlib/font_manager.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,9 @@ def createFontDict(fontfiles, fontext='ttf'):
456456
except RuntimeError:
457457
warnings.warn("Could not open font file %s"%fpath)
458458
continue
459-
prop = ttfFontProperty(font)
459+
try: prop = ttfFontProperty(font)
460+
except: continue
461+
460462
add_filename(fontdict, prop, fpath)
461463

462464
# !!!! Default font algorithm needs improvement

.matplotlibrc renamed to matplotlibrc

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
### MATPLOTLIBRC FORMAT
2-
#
3-
# This is a sample matplotlib configuration file. It should be placed
4-
# in your home dir (Linux and friends) or in the matplotlib data path,
5-
# ie, where matplotlib installs its data files (fonts, etc). On
6-
# windows, this would be, for example, C:\Python23\share\matplotlib.
7-
# On OSX, using the python framework, it will be (depending on your
8-
# version number) in
9-
# /System/Library/Frameworks/Python.framework/Versions/2.3/share/matplotlib/.matplotlibrc
102

3+
# This is a sample matplotlib configuration file. It should be placed
4+
# in HOME/.matplotlib/matplotlibrc (unix/linux like systems)
115
#
126
# By default, the installer will overwrite the existing file in the
137
# install path, so if you want to preserve your's, please move it to

0 commit comments

Comments
 (0)