[Matplotlib-users] Testing - please ignore
-- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ImportError: No module named six
- Original Message - From: Benjamin Root ben.r...@ou.edu To: garyr ga...@fidalgo.net Cc: Matplotlib Users Matplotlib-users@lists.sourceforge.net Sent: Wednesday, March 18, 2015 10:49 AM Subject: Re: [Matplotlib-users] ImportError: No module named six An important question that I should have asked before. Exactly where did you get the installer from? That might help us figure out what happened here. From here: http://matplotlib.org/downloads.html I installed six and all is well now, my program runs with Python 1.4.3 installed. Many thanks for your help Gary As for a workaround, if you want to get savy with the command-line, you could run pip install six on the command-line. That should install it for you, and then you can try installing matplotlib through the executable. On Tue, Mar 17, 2015 at 6:11 PM, garyr ga...@fidalgo.net wrote: I did as you suggest and got the No module named matplot lib message. I installed version 1.4.3 and got the no module named six message. I then deleted all the matplotlib files once again and installed version 1.3.1 and now my matplotlib program runs. Is there something else could try? - Original Message - From: Benjamin Root ben.r...@ou.edu To: garyr ga...@fidalgo.net Cc: Matplotlib Users Matplotlib-users@lists.sourceforge.net Sent: Tuesday, March 17, 2015 10:34 AM Subject: Re: [Matplotlib-users] ImportError: No module named six Chances are, there is some sort of mixup in your installs (as evidenced by the failure to go back to the previous version). I would try uninstalling all matplotlib installs, then checking to see if python still sees matplotlib anywhere (by running the script). It *should* say No module named matplotlib or some such. Once all of that is removed, install matplotlib again. Ben Root On Tue, Mar 17, 2015 at 1:12 PM, garyr ga...@fidalgo.net wrote: I downloaded version 1.4.3 and installed it (i.e., executed matplotlib-1.4.3.win32-py2.6.exe). Now when I attempt to run a program I get the following: python rainfallYears.py Traceback (most recent call last): File rainfallYears.py, line 4, in module import matplotlib.pyplot as plt File C:\Python26\lib\site-packages\matplotlib\__init__.py, line 105, in module import six ImportError: No module named six Exit code: 1 So then I went back to 1.3.1 and get the same error... Help! -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] ImportError: No module named six
I did as you suggest and got the No module named matplot lib message. I installed version 1.4.3 and got the no module named six message. I then deleted all the matplotlib files once again and installed version 1.3.1 and now my matplotlib program runs. Is there something else could try? - Original Message - From: Benjamin Root ben.r...@ou.edu To: garyr ga...@fidalgo.net Cc: Matplotlib Users Matplotlib-users@lists.sourceforge.net Sent: Tuesday, March 17, 2015 10:34 AM Subject: Re: [Matplotlib-users] ImportError: No module named six Chances are, there is some sort of mixup in your installs (as evidenced by the failure to go back to the previous version). I would try uninstalling all matplotlib installs, then checking to see if python still sees matplotlib anywhere (by running the script). It *should* say No module named matplotlib or some such. Once all of that is removed, install matplotlib again. Ben Root On Tue, Mar 17, 2015 at 1:12 PM, garyr ga...@fidalgo.net wrote: I downloaded version 1.4.3 and installed it (i.e., executed matplotlib-1.4.3.win32-py2.6.exe). Now when I attempt to run a program I get the following: python rainfallYears.py Traceback (most recent call last): File rainfallYears.py, line 4, in module import matplotlib.pyplot as plt File C:\Python26\lib\site-packages\matplotlib\__init__.py, line 105, in module import six ImportError: No module named six Exit code: 1 So then I went back to 1.3.1 and get the same error... Help! -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] ImportError: No module named six
I downloaded version 1.4.3 and installed it (i.e., executed matplotlib-1.4.3.win32-py2.6.exe). Now when I attempt to run a program I get the following: python rainfallYears.py Traceback (most recent call last): File rainfallYears.py, line 4, in module import matplotlib.pyplot as plt File C:\Python26\lib\site-packages\matplotlib\__init__.py, line 105, in module import six ImportError: No module named six Exit code: 1 So then I went back to 1.3.1 and get the same error... Help! -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Problem with mathematical expressions
I would like to place a mathematical symbol on a plot by using the appropriate code bracketed by dollar signs, e.g., $\alpha$. This is the technique used in the program pyplot_mathtext.py described at http://matplotlib.org/users/mathtext.html#mathtext-tutorial. When I run this probram I get the error messages shown below. What do I need to do to fix this problem? I'm using matplotlib 1.3.1 and Python 2.6. python pyplot_mathtext.py Exception in Tkinter callback Traceback (most recent call last): File C:\Python26\lib\lib-tk\Tkinter.py, line 1410, in __call__ return self.func(*args) File C:\Python26\lib\site-packages\matplotlib\backends\backend_tkagg.py, line 276, in resize self.show() File C:\Python26\lib\site-packages\matplotlib\backends\backend_tkagg.py, line 348, in draw FigureCanvasAgg.draw(self) File C:\Python26\lib\site-packages\matplotlib\backends\backend_agg.py, line 451, in draw self.figure.draw(self.renderer) File C:\Python26\lib\site-packages\matplotlib\artist.py, line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File C:\Python26\lib\site-packages\matplotlib\figure.py, line 1034, in draw func(*args) File C:\Python26\lib\site-packages\matplotlib\artist.py, line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File C:\Python26\lib\site-packages\matplotlib\axes.py, line 2086, in draw a.draw(renderer) File C:\Python26\lib\site-packages\matplotlib\artist.py, line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File C:\Python26\lib\site-packages\matplotlib\text.py, line 547, in draw bbox, info, descent = self._get_layout(renderer) File C:\Python26\lib\site-packages\matplotlib\text.py, line 329, in _get_layout ismath=ismath) File C:\Python26\lib\site-packages\matplotlib\backends\backend_agg.py, line 210, in get_text_width_height_descent self.mathtext_parser.parse(s, self.dpi, prop) File C:\Python26\lib\site-packages\matplotlib\mathtext.py, line 3009, in parse self.__class__._parser = Parser() File C:\Python26\lib\site-packages\matplotlib\mathtext.py, line 2193, in __init__ - ((lbrace + float_literal + rbrace) TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType' Exit code: 0 -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] twinx and grid
The script below labels both the left and right x-axes and shows a grid. Is there a way to force the horizontal grid lines to line up with the tic marks on the left axis (ax1)? import numpy as np import matplotlib.pyplot as plt fig = plt.figure() ax1 = fig.add_subplot(111) t = np.arange(0.01, 10.0, 0.01) s1 = np.exp(t) ax1.plot(t, s1, 'b-') ax2 = ax1.twinx() s2 = np.sin(2*np.pi*t) ax2.plot(t, s2, 'r') plt.grid() plt.show() -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users