From jacopo.landi1 at gmail.com Mon Dec 3 09:32:41 2018 From: jacopo.landi1 at gmail.com (Jack_Landis) Date: Mon, 3 Dec 2018 07:32:41 -0700 (MST) Subject: [Matplotlib-users] Installation issue Message-ID: <1543847561054-0.post@n5.nabble.com> Dear all, I'm trying to install matplotlib on my pc (Windows 10). I got this error: $ python buildall.py Traceback (most recent call last): File "buildall.py", line 58, in main(options) File "buildall.py", line 11, in main utils.build_zlib() File "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", line 136, in build_zlib cmd.write(prepare_build_cmd(ZLIB_BUILD_CMD)) File "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", line 63, in prepare_build_cmd raise RuntimeError('Microsoft VS {} required'.format('2010' if VS2010 else '2008')) RuntimeError: Microsoft VS 2010 required I already have "Microsoft Visual C++ 2008 redistributable" installed (I have 2008, 2010, 2012, 2013, 2017 installed). What shall I do? Thank you very much! -- Sent from: http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html From ben.v.root at gmail.com Mon Dec 3 12:37:52 2018 From: ben.v.root at gmail.com (Benjamin Root) Date: Mon, 3 Dec 2018 12:37:52 -0500 Subject: [Matplotlib-users] Installation issue In-Reply-To: <1543847561054-0.post@n5.nabble.com> References: <1543847561054-0.post@n5.nabble.com> Message-ID: This seems to be an issue with https://github.com/jbmohler/matplotlib-winbuild. You might want to check there first. On Mon, Dec 3, 2018 at 9:32 AM Jack_Landis wrote: > Dear all, > > I'm trying to install matplotlib on my pc (Windows 10). I got this error: > > $ python buildall.py > Traceback (most recent call last): > File "buildall.py", line 58, in > main(options) > File "buildall.py", line 11, in main > utils.build_zlib() > File > > "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", > line 136, in build_zlib > cmd.write(prepare_build_cmd(ZLIB_BUILD_CMD)) > File > > "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", > line 63, in prepare_build_cmd > raise RuntimeError('Microsoft VS {} required'.format('2010' if VS2010 > else '2008')) > RuntimeError: Microsoft VS 2010 required > > I already have "Microsoft Visual C++ 2008 redistributable" installed (I > have > 2008, 2010, 2012, 2013, 2017 installed). What shall I do? > > Thank you very much! > > > > -- > Sent from: > http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacopo.landi1 at gmail.com Mon Dec 3 17:17:33 2018 From: jacopo.landi1 at gmail.com (Jacopo Landi) Date: Mon, 3 Dec 2018 23:17:33 +0100 Subject: [Matplotlib-users] Installation issue In-Reply-To: References: <1543847561054-0.post@n5.nabble.com> Message-ID: I have already followed all that instructions...But still it gaves me this error and I can't understand what I'm doing wrong ?? On Mon, 3 Dec 2018, 18:38 Benjamin Root This seems to be an issue with > https://github.com/jbmohler/matplotlib-winbuild. You might want to check > there first. > > On Mon, Dec 3, 2018 at 9:32 AM Jack_Landis > wrote: > >> Dear all, >> >> I'm trying to install matplotlib on my pc (Windows 10). I got this error: >> >> $ python buildall.py >> Traceback (most recent call last): >> File "buildall.py", line 58, in >> main(options) >> File "buildall.py", line 11, in main >> utils.build_zlib() >> File >> >> "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", >> line 136, in build_zlib >> cmd.write(prepare_build_cmd(ZLIB_BUILD_CMD)) >> File >> >> "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", >> line 63, in prepare_build_cmd >> raise RuntimeError('Microsoft VS {} required'.format('2010' if VS2010 >> else '2008')) >> RuntimeError: Microsoft VS 2010 required >> >> I already have "Microsoft Visual C++ 2008 redistributable" installed (I >> have >> 2008, 2010, 2012, 2013, 2017 installed). What shall I do? >> >> Thank you very much! >> >> >> >> -- >> Sent from: >> http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html >> _______________________________________________ >> Matplotlib-users mailing list >> Matplotlib-users at python.org >> https://mail.python.org/mailman/listinfo/matplotlib-users >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pmhobson at gmail.com Mon Dec 3 17:47:02 2018 From: pmhobson at gmail.com (Paul Hobson) Date: Mon, 3 Dec 2018 14:47:02 -0800 Subject: [Matplotlib-users] Installation issue In-Reply-To: References: <1543847561054-0.post@n5.nabble.com> Message-ID: What I believe Ben means is that since the matplotlib development team doesn't maintain those scripts, this list isn't the best place for your question (as odd as that may seem). My recommendation would be to the look through the open issues at the matplitlib-winbuild repository and check if someone having a similar issue has figured out a solution. If not, you could create a new issue at the repository explaining your predicament. -Paul On Mon, Dec 3, 2018 at 2:18 PM Jacopo Landi wrote: > I have already followed all that instructions...But still it gaves me this > error and I can't understand what I'm doing wrong ?? > > On Mon, 3 Dec 2018, 18:38 Benjamin Root >> This seems to be an issue with >> https://github.com/jbmohler/matplotlib-winbuild. You might want to check >> there first. >> >> On Mon, Dec 3, 2018 at 9:32 AM Jack_Landis >> wrote: >> >>> Dear all, >>> >>> I'm trying to install matplotlib on my pc (Windows 10). I got this error: >>> >>> $ python buildall.py >>> Traceback (most recent call last): >>> File "buildall.py", line 58, in >>> main(options) >>> File "buildall.py", line 11, in main >>> utils.build_zlib() >>> File >>> >>> "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", >>> line 136, in build_zlib >>> cmd.write(prepare_build_cmd(ZLIB_BUILD_CMD)) >>> File >>> >>> "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", >>> line 63, in prepare_build_cmd >>> raise RuntimeError('Microsoft VS {} required'.format('2010' if VS2010 >>> else '2008')) >>> RuntimeError: Microsoft VS 2010 required >>> >>> I already have "Microsoft Visual C++ 2008 redistributable" installed (I >>> have >>> 2008, 2010, 2012, 2013, 2017 installed). What shall I do? >>> >>> Thank you very much! >>> >>> >>> >>> -- >>> Sent from: >>> http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Matplotlib-users at python.org >>> https://mail.python.org/mailman/listinfo/matplotlib-users >>> >> _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcaswell at gmail.com Tue Dec 4 08:39:25 2018 From: tcaswell at gmail.com (Thomas Caswell) Date: Tue, 4 Dec 2018 08:39:25 -0500 Subject: [Matplotlib-users] Installation issue In-Reply-To: References: <1543847561054-0.post@n5.nabble.com> Message-ID: If you are using conda it may also be worth looking at the recipe build script and / or the installation. Our official window install install instructions ( https://matplotlib.org/users/installing.html#build-windows ) point at matplotlib-winbuild so I think this is our problem to either fix or own complete install documentation in our docs. Tom On Mon, Dec 3, 2018 at 5:47 PM Paul Hobson wrote: > What I believe Ben means is that since the matplotlib development team > doesn't maintain those scripts, this list isn't the best place for your > question (as odd as that may seem). My recommendation would be to the look > through the open issues at the matplitlib-winbuild repository and check if > someone having a similar issue has figured out a solution. If not, you > could create a new issue at the repository explaining your predicament. > -Paul > > On Mon, Dec 3, 2018 at 2:18 PM Jacopo Landi > wrote: > >> I have already followed all that instructions...But still it gaves me >> this error and I can't understand what I'm doing wrong ?? >> >> On Mon, 3 Dec 2018, 18:38 Benjamin Root > >>> This seems to be an issue with >>> https://github.com/jbmohler/matplotlib-winbuild. You might want to >>> check there first. >>> >>> On Mon, Dec 3, 2018 at 9:32 AM Jack_Landis >>> wrote: >>> >>>> Dear all, >>>> >>>> I'm trying to install matplotlib on my pc (Windows 10). I got this >>>> error: >>>> >>>> $ python buildall.py >>>> Traceback (most recent call last): >>>> File "buildall.py", line 58, in >>>> main(options) >>>> File "buildall.py", line 11, in main >>>> utils.build_zlib() >>>> File >>>> >>>> "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", >>>> line 136, in build_zlib >>>> cmd.write(prepare_build_cmd(ZLIB_BUILD_CMD)) >>>> File >>>> >>>> "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", >>>> line 63, in prepare_build_cmd >>>> raise RuntimeError('Microsoft VS {} required'.format('2010' if >>>> VS2010 >>>> else '2008')) >>>> RuntimeError: Microsoft VS 2010 required >>>> >>>> I already have "Microsoft Visual C++ 2008 redistributable" installed (I >>>> have >>>> 2008, 2010, 2012, 2013, 2017 installed). What shall I do? >>>> >>>> Thank you very much! >>>> >>>> >>>> >>>> -- >>>> Sent from: >>>> http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Matplotlib-users at python.org >>>> https://mail.python.org/mailman/listinfo/matplotlib-users >>>> >>> _______________________________________________ >> Matplotlib-users mailing list >> Matplotlib-users at python.org >> https://mail.python.org/mailman/listinfo/matplotlib-users >> > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users > -- Thomas Caswell tcaswell at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From anntzer.lee at gmail.com Tue Dec 4 10:37:52 2018 From: anntzer.lee at gmail.com (Antony Lee) Date: Tue, 4 Dec 2018 16:37:52 +0100 Subject: [Matplotlib-users] Installation issue In-Reply-To: References: <1543847561054-0.post@n5.nabble.com> Message-ID: I would suggest removing the link to mpl-winbuild (which appears to not have been updated for 4 years) and state something to the effect of - either use the built wheels/conda packages (I think this is what the OP needs) - or use conda to get libpng set up - or set it up on your own. Once libpng and a recent enough MSVC are present, building Matplotlib oneself is "reasonably" straightforward. Antony On Tue, Dec 4, 2018 at 2:39 PM Thomas Caswell wrote: > If you are using conda it may also be worth looking at the recipe build > script and / or the installation. > > Our official window install install instructions ( > https://matplotlib.org/users/installing.html#build-windows ) point at > matplotlib-winbuild so I think this is our problem to either fix or own > complete install documentation in our docs. > > Tom > > > > > On Mon, Dec 3, 2018 at 5:47 PM Paul Hobson wrote: > >> What I believe Ben means is that since the matplotlib development team >> doesn't maintain those scripts, this list isn't the best place for your >> question (as odd as that may seem). My recommendation would be to the look >> through the open issues at the matplitlib-winbuild repository and check if >> someone having a similar issue has figured out a solution. If not, you >> could create a new issue at the repository explaining your predicament. >> -Paul >> >> On Mon, Dec 3, 2018 at 2:18 PM Jacopo Landi >> wrote: >> >>> I have already followed all that instructions...But still it gaves me >>> this error and I can't understand what I'm doing wrong ?? >>> >>> On Mon, 3 Dec 2018, 18:38 Benjamin Root >> >>>> This seems to be an issue with >>>> https://github.com/jbmohler/matplotlib-winbuild. You might want to >>>> check there first. >>>> >>>> On Mon, Dec 3, 2018 at 9:32 AM Jack_Landis >>>> wrote: >>>> >>>>> Dear all, >>>>> >>>>> I'm trying to install matplotlib on my pc (Windows 10). I got this >>>>> error: >>>>> >>>>> $ python buildall.py >>>>> Traceback (most recent call last): >>>>> File "buildall.py", line 58, in >>>>> main(options) >>>>> File "buildall.py", line 11, in main >>>>> utils.build_zlib() >>>>> File >>>>> >>>>> "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", >>>>> line 136, in build_zlib >>>>> cmd.write(prepare_build_cmd(ZLIB_BUILD_CMD)) >>>>> File >>>>> >>>>> "C:\Users\laj\AppData\Local\Programs\Python\Python37\Lib\site-packages\matplotlib-winbuild\utils.py", >>>>> line 63, in prepare_build_cmd >>>>> raise RuntimeError('Microsoft VS {} required'.format('2010' if >>>>> VS2010 >>>>> else '2008')) >>>>> RuntimeError: Microsoft VS 2010 required >>>>> >>>>> I already have "Microsoft Visual C++ 2008 redistributable" installed >>>>> (I have >>>>> 2008, 2010, 2012, 2013, 2017 installed). What shall I do? >>>>> >>>>> Thank you very much! >>>>> >>>>> >>>>> >>>>> -- >>>>> Sent from: >>>>> http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html >>>>> _______________________________________________ >>>>> Matplotlib-users mailing list >>>>> Matplotlib-users at python.org >>>>> https://mail.python.org/mailman/listinfo/matplotlib-users >>>>> >>>> _______________________________________________ >>> Matplotlib-users mailing list >>> Matplotlib-users at python.org >>> https://mail.python.org/mailman/listinfo/matplotlib-users >>> >> _______________________________________________ >> Matplotlib-users mailing list >> Matplotlib-users at python.org >> https://mail.python.org/mailman/listinfo/matplotlib-users >> > > > -- > Thomas Caswell > tcaswell at gmail.com > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matplotlib at mpetroff.net Sat Dec 15 16:50:59 2018 From: matplotlib at mpetroff.net (Matthew Petroff) Date: Sat, 15 Dec 2018 16:50:59 -0500 Subject: [Matplotlib-users] Color Cycle Survey Message-ID: Dear all, For the past year or so, I've been working on techniques for generating visually pleasing colorblind-friendly color cycles, since I find the current default difficult to interpret (see [1] for details). The colorblind-friendly aspect can be solved through technical means, by enforcing minimum perceptual distances in combination with color vision deficiency simulations, but the aesthetic preference aspect is subjective and requires a different approach. To this end, I've created a survey for collecting the data necessary for creating a model of general aesthetic preference for color cycles: https://colorcyclesurvey.mpetroff.net/ As the usefulness of this approach hinges on collecting enough data [2], I'd appreciate folks taking the survey. Feedback on the survey or the general approach taken would also be appreciated (there's an issue tracker [3]). Thanks. -Matthew Petroff [1] https://github.com/matplotlib/matplotlib/issues/9460 [2] What constitutes "enough" is unfortunately difficult to define a priori. [3] https://github.com/mpetroff/color-cycle-survey/issues -------------- next part -------------- An HTML attachment was scrubbed... URL: From jni.soma at gmail.com Mon Dec 17 01:33:49 2018 From: jni.soma at gmail.com (Juan Nunez-Iglesias) Date: Mon, 17 Dec 2018 01:33:49 -0500 Subject: [Matplotlib-users] Color Cycle Survey In-Reply-To: References: Message-ID: Thanks for this work, Matthew! I'm excited about this. For what it's worth, though (probably not much), in the 11 tries I had, I don't think I liked any of the cycles as much as the one in this comment [1], which I think is close to perfect: https://github.com/matplotlib/matplotlib/issues/9460#issuecomment-377312565 But I am not colorblind nor have I worked in this space so I defer to the data. =) Thanks again, Juan. On Sun, Dec 16, 2018, at 8:51 AM, Matthew Petroff wrote: > Dear all, > > For the past year or so, I've been working on techniques for generating visually pleasing colorblind-friendly color cycles, since I find the current default difficult to interpret (see [1] for details). The colorblind-friendly aspect can be solved through technical means, by enforcing minimum perceptual distances in combination with color vision deficiency simulations, but the aesthetic preference aspect is subjective and requires a different approach. To this end, I've created a survey for collecting the data necessary for creating a model of general aesthetic preference for color cycles: > > https://colorcyclesurvey.mpetroff.net/ > > As the usefulness of this approach hinges on collecting enough data [2], I'd appreciate folks taking the survey. Feedback on the survey or the general approach taken would also be appreciated (there's an issue tracker [3]). Thanks. > > -Matthew Petroff > > [1] https://github.com/matplotlib/matplotlib/issues/9460 > [2] What constitutes "enough" is unfortunately difficult to define a priori. > [3] https://github.com/mpetroff/color-cycle-survey/issues > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matplotlib at mpetroff.net Mon Dec 17 12:22:14 2018 From: matplotlib at mpetroff.net (Matthew Petroff) Date: Mon, 17 Dec 2018 12:22:14 -0500 Subject: [Matplotlib-users] Color Cycle Survey In-Reply-To: References: Message-ID: I spent something like two minutes creating that color cycle for the sole purpose of creating the screenshot and don't consider myself much of a designer, so I'm glad you like it. The color vision deficiency simulation strength used for that cycle (50%) was less than what was used to generate the sets used in the survey (100%), so that may be a contributing factor (a minimum perceptual distance of 18 was used for both). However, I think it's mostly just that of all the possible color cycles, many more look bad than good. If all goes well, the survey data can be used to create a model of what looks good, although it's still an experiment, so there are no guarantees. -Matthew Petroff On Mon, Dec 17, 2018 at 1:34 AM Juan Nunez-Iglesias wrote: > Thanks for this work, Matthew! I'm excited about this. For what it's > worth, though (probably not much), in the 11 tries I had, I don't think I > liked any of the cycles as much as the one in this comment [1], which I > think is close to perfect: > > https://github.com/matplotlib/matplotlib/issues/9460#issuecomment-377312565 > > But I am not colorblind nor have I worked in this space so I defer to the > data. =) > > Thanks again, > > Juan. > > On Sun, Dec 16, 2018, at 8:51 AM, Matthew Petroff wrote: > > Dear all, > > For the past year or so, I've been working on techniques for generating > visually pleasing colorblind-friendly color cycles, since I find the > current default difficult to interpret (see [1] for details). The > colorblind-friendly aspect can be solved through technical means, by > enforcing minimum perceptual distances in combination with color vision > deficiency simulations, but the aesthetic preference aspect is subjective > and requires a different approach. To this end, I've created a survey for > collecting the data necessary for creating a model of general aesthetic > preference for color cycles: > > https://colorcyclesurvey.mpetroff.net/ > > As the usefulness of this approach hinges on collecting enough data [2], > I'd appreciate folks taking the survey. Feedback on the survey or the > general approach taken would also be appreciated (there's an issue tracker > [3]). Thanks. > > -Matthew Petroff > > [1] https://github.com/matplotlib/matplotlib/issues/9460 > [2] What constitutes "enough" is unfortunately difficult to define a > priori. > [3] https://github.com/mpetroff/color-cycle-survey/issues > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users > > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users at python.org > https://mail.python.org/mailman/listinfo/matplotlib-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbayles at billtrust.com Fri Dec 21 11:18:15 2018 From: jbayles at billtrust.com (Jonathan Bayles) Date: Fri, 21 Dec 2018 11:18:15 -0500 Subject: [Matplotlib-users] Multiple colors in pie chart labels Message-ID: Greetings Users, I would like to have my pie wedge labels be the same color as the associated wedge, is there a way to do this? If not, is there a way to determine where a pie wedge is so that I could anchor a text box to it and achieve a similar result? Thank you! -- Jonathan Bayles Senior Systems Engineer, Data Intelligence | Billtrust Cell: 908.644.4599 | Tel: 609.235.0830 | Email: jbayles at billtrust.com | Web: www.billtrust.com Follow us: Twitter | Facebook | LinkedIn | Blog -------------- next part -------------- An HTML attachment was scrubbed... URL: