SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S





1
(5)
2
(2)
3
4
(4)
5
(1)
6
(6)
7
(19)
8
(4)
9
10
11
12
13
(1)
14
(3)
15
(4)
16
17
18
19
20
21
22
(4)
23
(1)
24
(1)
25
(12)
26
(7)
27
(4)
28
29
30
31






Showing 4 results of 4

From: Damon M. <dam...@gm...> - 2013年03月04日 21:33:07
On Mon, Mar 4, 2013 at 6:44 AM, David Verelst <dav...@gm...> wrote:
>
> sorry...forgot to tag the subject as [matplotlib-devel]
The server does it for you.
>
> On 4 March 2013 13:35, David Verelst <dav...@gm...> wrote:
>>
>> Hi,
>>
>> I am running Arch Linux, Matplotlib 1.2, Python 2.7, and today I realized
>> that generating *.eps figures when matplotlib is using the latex output
>> rc('text', usetex=True) results in a corrupted eps figure in combination
>> with Ghostscript 9.07. The png variant of the same figure works fine, eps
>> works fine if usetex=False. Everything works fine when I downgrade back to
>> Ghostscript 9.06.
>>
>> Is this related to this?
>> https://github.com/matplotlib/matplotlib/issues/1693
>> https://github.com/matplotlib/matplotlib/pull/1694
>> If it is, I guess the problem is already solved. Haven't tested that yet
>> (need to build matplitlib from git first...)
>>
>> I have no idea if this is Arch Linux packaging, Ghostscript or Matplotlib
>> issue...hence this email.
>>
>> Regards,
>> David
>>
>>
>> An example, from: http://matplotlib.org/users/usetex.html
>>
>> #!/usr/bin/env python
>> """
>> You can use TeX to render all of your matplotlib text if the rc
>> parameter text.usetex is set. This works currently on the agg and ps
>> backends, and requires that you have tex and the other dependencies
>> described at http://matplotlib.sf.net/matplotlib.texmanager.html
>> properly installed on your system. The first time you run a script
>> you will see a lot of output from tex and associated tools. The next
>> time, the run may be silent, as a lot of the information is cached in
>> ~/.tex.cache
>>
>> """
>> from matplotlib import rc
>> from numpy import arange, cos, pi
>> from matplotlib.pyplot import figure, axes, plot, xlabel, ylabel, title, \
>> grid, savefig, show
>>
>>
>> rc('text', usetex=True)
>> rc('font', family='serif')
>> figure(1, figsize=(6,4))
>> ax = axes([0.1, 0.1, 0.8, 0.7])
>> t = arange(0.0, 1.0+0.01, 0.01)
>> s = cos(2*2*pi*t)+2
>> plot(t, s)
>>
>> xlabel(r'\textbf{time (s)}')
>> ylabel(r'\textit{voltage (mV)}',fontsize=16)
>> title(r"\TeX\ is Number
>> $\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!",
>> fontsize=16, color='r')
>> grid(True)
>> savefig('tex_demo.eps')
>> savefig('tex_demo.png')
>>
>> show()
>>
>>
>> When converting the eps figure with imagemagick (just to check the file),
>> the following error is given:
>> $ convert Desktop/tex_demo.eps ddd.eps
>> Error: /dictstackunderflow in --end--
>> Operand stack:
>>
>> Execution stack:
>> %interp_exit .runexec2 --nostringval-- --nostringval--
>> --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
>> --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop
>> 1899 1 3 %oparray_pop --nostringval-- 1883 1 3 %oparray_pop
>> 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2
>> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
>> --nostringval--
>> Dictionary stack:
>> --dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
>> Current allocation mode is local
>> Last OS error: No such file or directory
>> Current file position is 102614
>> GPL Ghostscript 9.07: Unrecoverable error, exit code 1
>> Error: /dictstackunderflow in --end--
>> Operand stack:
>>
>> Execution stack:
>> %interp_exit .runexec2 --nostringval-- --nostringval--
>> --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
>> --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop
>> 1899 1 3 %oparray_pop --nostringval-- 1883 1 3 %oparray_pop
>> 1771 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2
>> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
>> --nostringval--
>> Dictionary stack:
>> --dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
>> Current allocation mode is local
>> Last OS error: No such file or directory
>> Current file position is 102614
>> GPL Ghostscript 9.07: Unrecoverable error, exit code 1
>> convert: Postscript delegate failed `Desktop/tex_demo.eps': No such file
>> or directory @ error/ps.c/ReadPSImage/836.
>> convert: no images defined `ddd.eps' @
>> error/convert.c/ConvertImageCommand/3068.
>>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
-- 
Damon McDougall
http://www.damon-is-a-geek.com
Institute for Computational Engineering Sciences
201 E. 24th St.
Stop C0200
The University of Texas at Austin
Austin, TX 78712-1229
From: David V. <dav...@gm...> - 2013年03月04日 12:45:09
sorry...forgot to tag the subject as [matplotlib-devel]
On 4 March 2013 13:35, David Verelst <dav...@gm...> wrote:
> Hi,
>
> I am running Arch Linux, Matplotlib 1.2, Python 2.7, and today I realized
> that generating *.eps figures when matplotlib is using the latex output
> rc('text', usetex=True) results in a corrupted eps figure in combination
> with Ghostscript 9.07. The png variant of the same figure works fine, eps
> works fine if usetex=False. Everything works fine when I downgrade back to
> Ghostscript 9.06.
>
> Is this related to this?
> https://github.com/matplotlib/matplotlib/issues/1693
> https://github.com/matplotlib/matplotlib/pull/1694
> If it is, I guess the problem is already solved. Haven't tested that yet
> (need to build matplitlib from git first...)
>
> I have no idea if this is Arch Linux packaging, Ghostscript or Matplotlib
> issue...hence this email.
>
> Regards,
> David
>
>
> An example, from: http://matplotlib.org/users/usetex.html
>
> #!/usr/bin/env python"""You can use TeX to render all of your matplotlib text if the rcparameter text.usetex is set. This works currently on the agg and psbackends, and requires that you have tex and the other dependenciesdescribed at http://matplotlib.sf.net/matplotlib.texmanager.htmlproperly installed on your system. The first time you run a scriptyou will see a lot of output from tex and associated tools. The nexttime, the run may be silent, as a lot of the information is cached in~/.tex.cache
> """from matplotlib import rcfrom numpy import arange, cos, pifrom matplotlib.pyplot import figure, axes, plot, xlabel, ylabel, title, \
> grid, savefig, show
>
> rc('text', usetex=True)rc('font', family='serif')figure(1, figsize=(6,4))ax = axes([0.1, 0.1, 0.8, 0.7])t = arange(0.0, 1.0+0.01, 0.01)s = cos(2*2*pi*t)+2plot(t, s)
> xlabel(r'\textbf{time (s)}')ylabel(r'\textit{voltage (mV)}',fontsize=16)title(r"\TeX\ is Number $\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!",
> fontsize=16, color='r')grid(True)savefig('tex_demo.eps')savefig('tex_demo.png')
> show()
>
>
> When converting the eps figure with imagemagick (just to check the file),
> the following error is given:
> $ convert Desktop/tex_demo.eps ddd.eps
> Error: /dictstackunderflow in --end--
> Operand stack:
>
> Execution stack:
> %interp_exit .runexec2 --nostringval-- --nostringval--
> --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
> --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop
> 1899 1 3 %oparray_pop --nostringval-- 1883 1 3
> %oparray_pop 1771 1 3 %oparray_pop --nostringval--
> %errorexec_pop .runexec2 --nostringval-- --nostringval--
> --nostringval-- 2 %stopped_push --nostringval--
> Dictionary stack:
> --dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
> Current allocation mode is local
> Last OS error: No such file or directory
> Current file position is 102614
> GPL Ghostscript 9.07: Unrecoverable error, exit code 1
> Error: /dictstackunderflow in --end--
> Operand stack:
>
> Execution stack:
> %interp_exit .runexec2 --nostringval-- --nostringval--
> --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
> --nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop
> 1899 1 3 %oparray_pop --nostringval-- 1883 1 3
> %oparray_pop 1771 1 3 %oparray_pop --nostringval--
> %errorexec_pop .runexec2 --nostringval-- --nostringval--
> --nostringval-- 2 %stopped_push --nostringval--
> Dictionary stack:
> --dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
> Current allocation mode is local
> Last OS error: No such file or directory
> Current file position is 102614
> GPL Ghostscript 9.07: Unrecoverable error, exit code 1
> convert: Postscript delegate failed `Desktop/tex_demo.eps': No such file
> or directory @ error/ps.c/ReadPSImage/836.
> convert: no images defined `ddd.eps' @
> error/convert.c/ConvertImageCommand/3068.
>
>
From: Thomas K. <th...@kl...> - 2013年03月04日 12:37:36
On 2 March 2013 23:19, Thomas Kluyver <th...@kl...> wrote:
> Not directly - it runs on a completely automated build server. I've just
> pushed a commit to the packaging rules which will try this the next time it
> does the build. But it's not exactly instant feedback for debugging ;-).
> Hopefully once we see the ImportError, it will be clear what we need to
> change.
>
The build environment was missing pyparsing. That doesn't affect compiling,
but matplotlib can't be imported without it. I've added pyparsing to the
build dependencies, so hopefully the next build will complete.
Thanks,
Thomas
From: David V. <dav...@gm...> - 2013年03月04日 12:35:53
Hi,
I am running Arch Linux, Matplotlib 1.2, Python 2.7, and today I realized
that generating *.eps figures when matplotlib is using the latex
output rc('text',
usetex=True) results in a corrupted eps figure in combination with
Ghostscript 9.07. The png variant of the same figure works fine, eps works
fine if usetex=False. Everything works fine when I downgrade back to
Ghostscript 9.06.
Is this related to this?
https://github.com/matplotlib/matplotlib/issues/1693
https://github.com/matplotlib/matplotlib/pull/1694
If it is, I guess the problem is already solved. Haven't tested that yet
(need to build matplitlib from git first...)
I have no idea if this is Arch Linux packaging, Ghostscript or Matplotlib
issue...hence this email.
Regards,
David
An example, from: http://matplotlib.org/users/usetex.html
#!/usr/bin/env python"""You can use TeX to render all of your
matplotlib text if the rcparameter text.usetex is set. This works
currently on the agg and psbackends, and requires that you have tex
and the other dependenciesdescribed at
http://matplotlib.sf.net/matplotlib.texmanager.htmlproperly installed
on your system. The first time you run a scriptyou will see a lot of
output from tex and associated tools. The nexttime, the run may be
silent, as a lot of the information is cached in~/.tex.cache
"""from matplotlib import rcfrom numpy import arange, cos, pifrom
matplotlib.pyplot import figure, axes, plot, xlabel, ylabel, title, \
 grid, savefig, show
rc('text', usetex=True)rc('font', family='serif')figure(1,
figsize=(6,4))ax = axes([0.1, 0.1, 0.8, 0.7])t = arange(0.0, 1.0+0.01,
0.01)s = cos(2*2*pi*t)+2plot(t, s)
xlabel(r'\textbf{time (s)}')ylabel(r'\textit{voltage
(mV)}',fontsize=16)title(r"\TeX\ is Number
$\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n}$!",
 fontsize=16,
color='r')grid(True)savefig('tex_demo.eps')savefig('tex_demo.png')
show()
When converting the eps figure with imagemagick (just to check the file),
the following error is given:
$ convert Desktop/tex_demo.eps ddd.eps
Error: /dictstackunderflow in --end--
Operand stack:
Execution stack:
 %interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop
1899 1 3 %oparray_pop --nostringval-- 1883 1 3
%oparray_pop 1771 1 3 %oparray_pop --nostringval--
%errorexec_pop .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
 --dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 102614
GPL Ghostscript 9.07: Unrecoverable error, exit code 1
Error: /dictstackunderflow in --end--
Operand stack:
Execution stack:
 %interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop
1899 1 3 %oparray_pop --nostringval-- 1883 1 3
%oparray_pop 1771 1 3 %oparray_pop --nostringval--
%errorexec_pop .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
 --dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 102614
GPL Ghostscript 9.07: Unrecoverable error, exit code 1
convert: Postscript delegate failed `Desktop/tex_demo.eps': No such file or
directory @ error/ps.c/ReadPSImage/836.
convert: no images defined `ddd.eps' @
error/convert.c/ConvertImageCommand/3068.

Showing 4 results of 4

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /