tag:blogger.com,1999:blog-8825992.post4385201708243686564..comments2019-02-13T20:54:50.768-08:00Comments on Electric Duncan: Mastering matplotlib: AcknowledgmentsUnknownnoreply@blogger.comBlogger7125tag:blogger.com,1999:blog-8825992.post-21414051040077955142017-08-09T21:58:52.629-07:002017-08-09T21:58:52.629-07:00Jef, if you ever got the book, I hope you enjoyed ...Jef, if you ever got the book, I hope you enjoyed it. I also *highly* recommend the French Onion dip.Duncan McGreggorhttps://www.blogger.com/profile/01448259795090963046noreply@blogger.comtag:blogger.com,1999:blog-8825992.post-65875276024723003062016-01-18T19:33:52.785-08:002016-01-18T19:33:52.785-08:00Hi there,
Planning on buying the book soon, this ...Hi there,<br /><br />Planning on buying the book soon, this sounds like what I've been looking for! However, are there plans to update this in the near future due to the release of mpl v1.5 or impending v2.0 release?<br /><br />Thanks!Anonymoushttps://www.blogger.com/profile/06102912319036473239noreply@blogger.comtag:blogger.com,1999:blog-8825992.post-87074969618001038532015-07-22T11:36:04.774-07:002015-07-22T11:36:04.774-07:00Looking back into the issue it seems that %matplot...Looking back into the issue it seems that %matplotlib nbagg doesn't solve all the problems, when using that magic all the plots end up being plotted in the first figure created (somehow new plt.plot() calls do not create a new figure instance), the solution seems to be to always create a new plt.figure() instance for each plot.Anonymoushttps://www.blogger.com/profile/15875880274088367278noreply@blogger.comtag:blogger.com,1999:blog-8825992.post-47844762456989444972015-07-22T08:16:01.026-07:002015-07-22T08:16:01.026-07:00I am using matplotlib 1.4.3 with IPython 3.2.1 wit...I am using matplotlib 1.4.3 with IPython 3.2.1 with a 64 bit version of python 3.4.1 in a windows 7 machine and it seems that the inline magic just overrides the use call, changing the order of the two call also doesn't seem to work since %matplotlib inline seems to prevent any further use of matplotlib.use(). Glad I could help.Anonymoushttps://www.blogger.com/profile/15875880274088367278noreply@blogger.comtag:blogger.com,1999:blog-8825992.post-38989136706845811842015-07-22T07:53:04.900-07:002015-07-22T07:53:04.900-07:00Thanks, Luis! This is great feedback -- I'll c...Thanks, Luis! This is great feedback -- I'll contact Packt today and let them know about the formatting issues with the .mobi.<br /><br />As for the other, what version of matplotlib are you using? I can update the notebooks with a comment to that effect, for anyone using later versions that 1.4.2 (which the notebooks were written against).<br /><br />So glad you're enjoying the book so far!Duncan McGreggorhttps://www.blogger.com/profile/01448259795090963046noreply@blogger.comtag:blogger.com,1999:blog-8825992.post-64597970732928602362015-07-22T06:35:05.495-07:002015-07-22T06:35:05.495-07:00Hi Duncan, really enjoying the level of detail in ...Hi Duncan, really enjoying the level of detail in your book. Just two things:<br />1-In the kindle edition there seems to be some issues where a new line is not created in some of the examples of your code (for instance in the first code "import matplotlib matplotlib.use('nbagg')" is rendered in the same line , I think this is a problem in the kindle conversion as the pdf is fine.<br />2- Maybe something changed in matplotlib but in my setup with the updated packages, everytime I include %matplotlib inline, the plots are no longer rendered with the nbagg backend, they revert to the normal backend, searching on stackoverflow it seems that the new magic would be %matplotlib nbagg , this replaces the matplotlib.use('nbagg') and the %matplotlib inline and seems to work fine.<br />Great jobAnonymoushttps://www.blogger.com/profile/15875880274088367278noreply@blogger.comtag:blogger.com,1999:blog-8825992.post-22450880922298890362015-07-10T11:10:58.699-07:002015-07-10T11:10:58.699-07:00Hmmm, I might need to pick this up so I can confid...Hmmm, I might need to pick this up so I can confidently recommend it for others in my science subcommunity. IDL is deeply entrenched as a visualization tool, and some of us have been chipping away at making python more widely in our little pocket. So much inertia. Maybe this book will drop the learning curve a bit.Jef Spaletahttps://www.blogger.com/profile/11439754449677675460noreply@blogger.com