You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Oliver <oli...@gm...> - 2015-02-05 21:32:35
|
Greetings,
before I submit an issue I usually try to confirm on the mailing list that
the issue I'm experiencing is not just on my system.
At the moment, I've tested this only on my personal laptop, but in virtual
environments.
One venv has mpl version 1.3.1, the other has just been installed (with
only numpy, matplotlib and ipython) and thus has mpl version 1.4.2.
In both environments the following script fails:
import numpy as np
import matplotlib.tri as mtri
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
y,x = np.ogrid[1:10:100j, 1:10:100j]
z = x**2-x*y
z2 = np.cos(x)**3 - np.sin(y)**2
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
r = ax.plot_surface(x,y,z2, cmap='hot')
r.get_facecolors()
It fails on the last line with the following traceback:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-13-de0f41d662cd> in <module>()
----> 1 r.get_facecolors()
/home/oliver/.virtualenvs/mpl/local/lib/python2.7/site-packages/mpl_toolkits/mplot3d/art3d.pyc
in get_facecolors(self)
634
635 def get_facecolors(self):
--> 636 return self._facecolors2d
637 get_facecolor = get_facecolors
638
AttributeError: 'Poly3DCollection' object has no attribute '_facecolors2d'
Can anyone confirm on their system that this is a bug?
I have the same error appearing for `get_facecolor()` (without the s) by
the way.
Regards,
Oliver
|
|
From: tenspd137 . <dcd...@gm...> - 2015-02-05 18:01:15
|
Hi all,
I often have scripts that make a lot of plots, and I would like to be
able to create the plots and then have a UI tool that shows a list of
their titles, click on the title and have the plot be drawn in a
window. So far, I have been able to use PyQt to create a UI with a
list box and a Widget to display plots. What I can't seem to figure
out is how to make a bunch of plots and then have the Window update.
So, in psuedo code:
list of plots = []
Go through datasets:
plots.append(plot(dataset))
For plot in plots:
add plot title to UI list, position in list is reference back
into list of plots
On UI:
click on plot name/title
widget draws plot
So - basically like docked plots, except there is just a list to the
side instead (much cleaner IMHO)
I haven't been able to find any examples from googling. Has any one
been able to do this or seen examples?
Any help or suggestions are appreciated!
Thanks!
:
|
|
From: Phil E. <pel...@gm...> - 2015-02-05 09:43:26
|
Awesome work! Full credit to Tom who has driven this release. The nbagg backend is looking great - some pretty swish new features thanks to hard work from Steven Silvester and Thomas Caswell! On 2 February 2015 at 10:58, Jens Nielsen <jen...@gm...> wrote: > Thanks Tom, > > I ran the test suite on OSX 10.10 with both python 2.7.8 and 3.4.2 > including the tex and QT4 tests that are skipped on Travis. > Everything passes as expected. > > Jens > > Mon Feb 02 2015 at 5:38:32 AM skrev Thomas Caswell <tca...@gm...>: > > Evening all, >> >> I have tagged the first release candidate for v1.4.3 (https://github.com/ >> matplotlib/matplotlib/releases/tag/v1.4.3rc1). >> >> Although this is a bug-fix release, a fair amount of work has gone into >> making the nbagg (interactive figures in ipython notebooks) feature >> complete compared to the other interactive backends. >> >> Please kick the tires and give it a try! If there are no major issues, >> the plan is to target 1.4.3 for next weekend. >> >> The mac build has been started and (if I understand how these things >> work) should be available to install via >> pip install -f http://wheels.scikit-image.org --pre matplotlib soon. >> >> For linux anaconda users, packages for 2.6/2.7 python on my binstar >> channel (conda install -c https://conda.binstar.org/tacaswell >> matplotlib). The py3k builds have some issue with invalid syntax in pyqt4, >> if some knows how to build these, please let me know. >> >> >> Tom >> >> >> ------------------------------------------------------------ >> ------------------ >> 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-devel mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > |
|
From: Aston630 <gae...@gm...> - 2015-02-04 14:53:55
|
Thank you very much for your quick answer. I am looking forward to it. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Marker-Edge-Width-Bug-tp44800p44802.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Thomas C. <tca...@gm...> - 2015-02-04 14:50:42
|
This should be fixed in 1.4.3 (which currently has a release candidate out and barring calamities will be released this weekend). On Wed Feb 04 2015 at 9:44:54 AM Aston630 <gae...@gm...> wrote: > Hi, > > I recently updated Matplotlib from 1.3.1 to 1.4.2, and I observe now a bug > that is: when I plot points, meaning 'markers', if I use markeredgewidth = > 0, in order to remove the edge of the marker, it was working very well on > 1.3.1 version, but now the points are just gone on the Matplotlib window! > But hold it, when I print the figure pdf, the points are there as before... > > Here is the code I use : > > plt.setp(line, ls ="", c = color, lw = 2, marker = "o", mfc = color, ms = > 7, > mec = color, mew= 2) # set properties > > Thank you very much for you help > > > > -- > View this message in context: http://matplotlib.1069221.n5. > nabble.com/Marker-Edge-Width-Bug-tp44800.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > ------------------------------------------------------------ > ------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Aston630 <gae...@gm...> - 2015-02-04 14:42:49
|
Hi, I recently updated Matplotlib from 1.3.1 to 1.4.2, and I observe now a bug that is: when I plot points, meaning 'markers', if I use markeredgewidth = 0, in order to remove the edge of the marker, it was working very well on 1.3.1 version, but now the points are just gone on the Matplotlib window! But hold it, when I print the figure pdf, the points are there as before... Here is the code I use : plt.setp(line, ls ="", c = color, lw = 2, marker = "o", mfc = color, ms = 7, mec = color, mew= 2) # set properties Thank you very much for you help -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Marker-Edge-Width-Bug-tp44800.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Neal B. <ndb...@gm...> - 2015-02-04 00:18:34
|
Paul Hobson wrote: > I only have the notebook to mes around in, but the following works for me: > > %matplotlib nbagg > import matplotlib.pyplot as plt > > fig, ax = plt.subplots(nrows=2, sharex=True, sharey=True) > > On Tue Feb 03 2015 at 4:07:26 PM Neal Becker > <ndb...@gm...> wrote: > >> I have 2 subplots, 2 rows 1 col. They have the same x-axis. >> >> I'd like to be able to zoom in on both plots together. Using qt4agg, >> there is a >> zoom icon, but it seems to operated on each subplot separately. >> Thanks for the quick replies! This works fine. |
|
From: Marcel M. <mar...@gm...> - 2015-02-04 00:17:14
|
You can also use ( http://matplotlib.org/examples/pylab_examples/shared_axis_demo.html): ax2 = subplot(212, sharex=ax1) Em Tue Feb 03 2015 at 22:13:44, Paul Hobson <pmh...@gm...> escreveu: > I only have the notebook to mes around in, but the following works for me: > > %matplotlib nbagg > import matplotlib.pyplot as plt > > fig, ax = plt.subplots(nrows=2, sharex=True, sharey=True) > > On Tue Feb 03 2015 at 4:07:26 PM Neal Becker <ndb...@gm...> wrote: > >> I have 2 subplots, 2 rows 1 col. They have the same x-axis. >> >> I'd like to be able to zoom in on both plots together. Using qt4agg, >> there is a >> zoom icon, but it seems to operated on each subplot separately. >> >> -- >> -- Those who don't understand recursion are doomed to repeat it >> >> >> ------------------------------------------------------------ >> ------------------ >> 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 >> Mat...@li... >> 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Paul H. <pmh...@gm...> - 2015-02-04 00:12:13
|
I only have the notebook to mes around in, but the following works for me: %matplotlib nbagg import matplotlib.pyplot as plt fig, ax = plt.subplots(nrows=2, sharex=True, sharey=True) On Tue Feb 03 2015 at 4:07:26 PM Neal Becker <ndb...@gm...> wrote: > I have 2 subplots, 2 rows 1 col. They have the same x-axis. > > I'd like to be able to zoom in on both plots together. Using qt4agg, > there is a > zoom icon, but it seems to operated on each subplot separately. > > -- > -- Those who don't understand recursion are doomed to repeat it > > > ------------------------------------------------------------ > ------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Neal B. <ndb...@gm...> - 2015-02-04 00:06:04
|
I have 2 subplots, 2 rows 1 col. They have the same x-axis. I'd like to be able to zoom in on both plots together. Using qt4agg, there is a zoom icon, but it seems to operated on each subplot separately. -- -- Those who don't understand recursion are doomed to repeat it |
|
From: Matthew B. <mat...@gm...> - 2015-02-02 20:23:32
|
Hi, On Mon, Feb 2, 2015 at 2:58 AM, Jens Nielsen <jen...@gm...> wrote: > Thanks Tom, > > I ran the test suite on OSX 10.10 with both python 2.7.8 and 3.4.2 including > the tex and QT4 tests that are skipped on Travis. > Everything passes as expected. I built wheels for OSX testing, via the automated travis builders [1]. Install with: pip install -f http://wheels.scipy.org -U --pre matplotlib Scipy ecosystem tests (numpy, scipy, pandas, etc) running against the rc1 wheel at [2]. Cheers, Matthew [1] https://travis-ci.org/MacPython/matplotlib-wheels [2] https://travis-ci.org/MacPython/scipy-stack-osx-testing |
|
From: Mark B. <ma...@gm...> - 2015-02-02 16:37:16
|
Thanks, Thomas. They sure have a working example. Now I gotta figure out what they do different than I did in the one that didn't work. I'll report back (although things may be fixed with the upcoming 1.4.3 release), Mark On Mon, Feb 2, 2015 at 5:26 PM, Thomas Caswell <tca...@gm...> wrote: > The nbagg UAT has an animation example: > https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backends/web_backend/nbagg_uat.ipynb > that should work on 1.4.2. > > Tom > > On Mon Feb 02 2015 at 11:17:15 AM Benjamin Root <ben...@ou...> wrote: > >> There have been many fixes to the nbagg backend that I think are lined up >> for the upcoming 1.4.3 release (the release candidate was tagged >> yesterday). Perhaps it has been fixed there? What version did you upgrade >> from? >> >> Cheers! >> Ben Root >> >> >> On Mon, Feb 2, 2015 at 10:42 AM, Mark Bakker <ma...@gm...> wrote: >> >>> Hello List, >>> >>> I could swear that animations used to work inside a Notebook using the >>> nbagg backend on my Mac. >>> >>> But they seem not to do anything anymore. Just updated to mpl 1.4.2 and >>> am running IPython 2.3.1. >>> >>> Can anybody get the basic example to work: http://matplotlib.org/1. >>> 4.2/examples/animation/basic_example.html >>> >>> Thanks, >>> >>> Mark >>> >>> ------------------------------------------------------------ >>> ------------------ >>> 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 >>> Mat...@li... >>> 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 >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > |
|
From: Thomas C. <tca...@gm...> - 2015-02-02 16:26:15
|
The nbagg UAT has an animation example: https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backends/web_backend/nbagg_uat.ipynb that should work on 1.4.2. Tom On Mon Feb 02 2015 at 11:17:15 AM Benjamin Root <ben...@ou...> wrote: > There have been many fixes to the nbagg backend that I think are lined up > for the upcoming 1.4.3 release (the release candidate was tagged > yesterday). Perhaps it has been fixed there? What version did you upgrade > from? > > Cheers! > Ben Root > > > On Mon, Feb 2, 2015 at 10:42 AM, Mark Bakker <ma...@gm...> wrote: > >> Hello List, >> >> I could swear that animations used to work inside a Notebook using the >> nbagg backend on my Mac. >> >> But they seem not to do anything anymore. Just updated to mpl 1.4.2 and >> am running IPython 2.3.1. >> >> Can anybody get the basic example to work: http://matplotlib.org/1. >> 4.2/examples/animation/basic_example.html >> >> Thanks, >> >> Mark >> >> ------------------------------------------------------------ >> ------------------ >> 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 >> Mat...@li... >> 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Benjamin R. <ben...@ou...> - 2015-02-02 16:16:39
|
There have been many fixes to the nbagg backend that I think are lined up for the upcoming 1.4.3 release (the release candidate was tagged yesterday). Perhaps it has been fixed there? What version did you upgrade from? Cheers! Ben Root On Mon, Feb 2, 2015 at 10:42 AM, Mark Bakker <ma...@gm...> wrote: > Hello List, > > I could swear that animations used to work inside a Notebook using the > nbagg backend on my Mac. > > But they seem not to do anything anymore. Just updated to mpl 1.4.2 and am > running IPython 2.3.1. > > Can anybody get the basic example to work: > http://matplotlib.org/1.4.2/examples/animation/basic_example.html > > Thanks, > > Mark > > > ------------------------------------------------------------------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: Mark B. <ma...@gm...> - 2015-02-02 15:42:56
|
Hello List, I could swear that animations used to work inside a Notebook using the nbagg backend on my Mac. But they seem not to do anything anymore. Just updated to mpl 1.4.2 and am running IPython 2.3.1. Can anybody get the basic example to work: http://matplotlib.org/1.4.2/examples/animation/basic_example.html Thanks, Mark |
|
From: Thomas C. <tca...@gm...> - 2015-02-02 05:37:51
|
Evening all, I have tagged the first release candidate for v1.4.3 ( https://github.com/matplotlib/matplotlib/releases/tag/v1.4.3rc1). Although this is a bug-fix release, a fair amount of work has gone into making the nbagg (interactive figures in ipython notebooks) feature complete compared to the other interactive backends. Please kick the tires and give it a try! If there are no major issues, the plan is to target 1.4.3 for next weekend. The mac build has been started and (if I understand how these things work) should be available to install via pip install -f http://wheels.scikit-image.org --pre matplotlib soon. For linux anaconda users, packages for 2.6/2.7 python on my binstar channel (conda install -c https://conda.binstar.org/tacaswell matplotlib). The py3k builds have some issue with invalid syntax in pyqt4, if some knows how to build these, please let me know. Tom |
|
From: Benjamin R. <ben...@ou...> - 2015-01-31 17:54:14
|
By the way, soon I will have a book out on creating interactive applications using matplotlib. I devote an entire chapter to clearly (I hope!) demonstrating how to use particular GUI toolkits with matplotlib. It is currently going through the final pre-publishing steps, so I should be announcing its release fairly soon. Cheers! Ben Root On Wed, Jan 28, 2015 at 2:42 PM, Sterling Smith <sm...@fu...> wrote: > Did you come across > http://matplotlib.org/examples/user_interfaces/embedding_in_qt4.html > ? > -Sterling > > On Jan 28, 2015, at 11:38AM, mo...@po... wrote: > > > On 2015-01-28 16:25 Thomas Caswell <tca...@gm...> wrote: > >> It should be exactly the same as for Qt4, just importing from the Qt5 > >> version > > > > Sorry, but my question was to unspecific. > > > > I don't know how it worked with Qt4. > > > > I need to know I can "draw" a plot into a QWidget or something else. I > > couldn't find an example or documentation about it. > > > > > ------------------------------------------------------------------------------ > > 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 > > Mat...@li... > > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Marcel M. <mar...@gm...> - 2015-01-31 11:31:38
|
Even deprecated, mpl.finance can do some of the things you need. Check these tutotials, and others, here: https://www.youtube.com/playlist?list=PLQVvvaa0QuDc2QjQOkZ4rtLYZVll_sZFZ There is also something about live stream and memory usage concern with matplotlib when reloading the charts, somewhere. Regards, Milcent Em Fri Jan 30 2015 at 21:03:56, Benjamin Root <ben...@ou...> escreveu: > To be clear, most of what was in finance.py were convenience functions for > parsing through stock data from the yahoo interface, and for plotting. > Taking a quick look, perhaps it might make sense to pull out a couple > fundamental chart types, but most of the code are just simply convenience > wrappers, and largely outdated now. > > The problem we are having is that users would file bug reports saying that > we were doing a particular chart incorrectly, and none of us had any domain > knowledge to know if that was the truth, false, or just a matter of opinion > in the field. Matplotlib is also intended to be a general-purpose plotting > library. It really shouldn't be doing much of the data preparatory work. > You should just tell it what to plot and let it crank. If that data > happened to have used a moving window, it wouldn't matter if it was an > average, median, or what-have-you. Matplotlib is fairly low-level, and > works very well that way. For example, there isn't an > "streamed_data_plot()" function. You have to do the streaming yourself and > update the plot. > > For data wrangling, I would suggest using Pandas. It interfaces quite > nicely (mostly) with matplotlib, and it is considered the de facto tool to > use for time series statistical analyses. Once the data is mashed into the > form you need, then you can plot it however you like. > > If you really want to keep finance.py alive, then all we are looking for > is someone knowledgable to stand up and take responsibility for it. It is > mostly self-contained, so it is even possible to spin it off as its own > mpl_toolkit managed separately from matplotlib. > > I mean, let's face it... do you really want your finances managed by a > bunch of meteorologists and astrophysicists? ;-P > > Cheers! > Ben Root > > > On Fri, Jan 30, 2015 at 1:30 PM, Thomas Caswell <tca...@gm...> > wrote: > >> Boris, >> >> Please direct such questions to the user list in the future (I have >> included the list on my reply). You may need to join the list to be able >> to post. >> >> The reason that mpl.finance was deprecated is that none of the current >> core developers work in finance and hence do not have the domain expertise >> to maintain the module. We are currently looking for a volunteer to take >> responsibility for that bit of code. >> >> I have no experience with plotting financial data and am hesitant to >> speculate about performance, but have gotten 20-30 fps out of mpl on other >> applications. >> >> Tom >> >> On Fri Jan 30 2015 at 1:19:47 PM tbad <tba...@gm...> wrote: >> >>> Hello Thomas, >>> >>> - You write in Github that matplotlib finance is deprecated since >>> matplotlib 1.4. What is instead of it? >>> - Can you please advice on what to use if i want to use matplotlib for >>> charting stocks, volume in different formats like candlesticks, tick >>> charts, bar charts with technical analysis add-ons like moving averages >>> etc.? I want to have charts with intra-day real time streaming with a lot >>> of stocks (i have a data feed provider). Or the only way is to do >>> everything manually? >>> - And will matplotlib be capable of streaming a lot of stocks tick by >>> tick without delays? >>> - Also maybe there are other python packages useful for trading purposes? >>> >>> Thank you for any answers beforehand, >>> Best regards, >>> Boris >>> >> >> >> ------------------------------------------------------------------------------ >> 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 >> Mat...@li... >> 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Benjamin R. <ben...@ou...> - 2015-01-30 23:02:09
|
To be clear, most of what was in finance.py were convenience functions for parsing through stock data from the yahoo interface, and for plotting. Taking a quick look, perhaps it might make sense to pull out a couple fundamental chart types, but most of the code are just simply convenience wrappers, and largely outdated now. The problem we are having is that users would file bug reports saying that we were doing a particular chart incorrectly, and none of us had any domain knowledge to know if that was the truth, false, or just a matter of opinion in the field. Matplotlib is also intended to be a general-purpose plotting library. It really shouldn't be doing much of the data preparatory work. You should just tell it what to plot and let it crank. If that data happened to have used a moving window, it wouldn't matter if it was an average, median, or what-have-you. Matplotlib is fairly low-level, and works very well that way. For example, there isn't an "streamed_data_plot()" function. You have to do the streaming yourself and update the plot. For data wrangling, I would suggest using Pandas. It interfaces quite nicely (mostly) with matplotlib, and it is considered the de facto tool to use for time series statistical analyses. Once the data is mashed into the form you need, then you can plot it however you like. If you really want to keep finance.py alive, then all we are looking for is someone knowledgable to stand up and take responsibility for it. It is mostly self-contained, so it is even possible to spin it off as its own mpl_toolkit managed separately from matplotlib. I mean, let's face it... do you really want your finances managed by a bunch of meteorologists and astrophysicists? ;-P Cheers! Ben Root On Fri, Jan 30, 2015 at 1:30 PM, Thomas Caswell <tca...@gm...> wrote: > Boris, > > Please direct such questions to the user list in the future (I have > included the list on my reply). You may need to join the list to be able > to post. > > The reason that mpl.finance was deprecated is that none of the current > core developers work in finance and hence do not have the domain expertise > to maintain the module. We are currently looking for a volunteer to take > responsibility for that bit of code. > > I have no experience with plotting financial data and am hesitant to > speculate about performance, but have gotten 20-30 fps out of mpl on other > applications. > > Tom > > On Fri Jan 30 2015 at 1:19:47 PM tbad <tba...@gm...> wrote: > >> Hello Thomas, >> >> - You write in Github that matplotlib finance is deprecated since >> matplotlib 1.4. What is instead of it? >> - Can you please advice on what to use if i want to use matplotlib for >> charting stocks, volume in different formats like candlesticks, tick >> charts, bar charts with technical analysis add-ons like moving averages >> etc.? I want to have charts with intra-day real time streaming with a lot >> of stocks (i have a data feed provider). Or the only way is to do >> everything manually? >> - And will matplotlib be capable of streaming a lot of stocks tick by >> tick without delays? >> - Also maybe there are other python packages useful for trading purposes? >> >> Thank you for any answers beforehand, >> Best regards, >> Boris >> > > > ------------------------------------------------------------------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: Thomas C. <tca...@gm...> - 2015-01-30 22:31:23
|
Boris, Please direct such questions to the user list in the future (I have included the list on my reply). You may need to join the list to be able to post. The reason that mpl.finance was deprecated is that none of the current core developers work in finance and hence do not have the domain expertise to maintain the module. We are currently looking for a volunteer to take responsibility for that bit of code. I have no experience with plotting financial data and am hesitant to speculate about performance, but have gotten 20-30 fps out of mpl on other applications. Tom On Fri Jan 30 2015 at 1:19:47 PM tbad <tba...@gm...> wrote: > Hello Thomas, > > - You write in Github that matplotlib finance is deprecated since > matplotlib 1.4. What is instead of it? > - Can you please advice on what to use if i want to use matplotlib for > charting stocks, volume in different formats like candlesticks, tick > charts, bar charts with technical analysis add-ons like moving averages > etc.? I want to have charts with intra-day real time streaming with a lot > of stocks (i have a data feed provider). Or the only way is to do > everything manually? > - And will matplotlib be capable of streaming a lot of stocks tick by tick > without delays? > - Also maybe there are other python packages useful for trading purposes? > > Thank you for any answers beforehand, > Best regards, > Boris > |
|
From: Benjamin R. <ben...@ou...> - 2015-01-29 22:44:37
|
Unfortunately, no. I have made several attempts at implementing this, with
the last attempt during the sprints at SciPy 2014. I got tantalizingly
close, but it fell apart as I tried to bring all the pieces back together.
The mplot3d code is actually very old and doesn't use the transforms system
very well, nor does the transform system extend nicely to 3d.
If anybody wants to re-attack this problem, I would suggest by starting
with creating some 3d->2d projection classes to be added to the transforms
system, and get unit tests for these. From there, axis3d and art3d needs to
be piece-by-piece remade to properly build on the trasnforms stack.
Sorry for the lack of happier news. The only work-around that I can think
of is to apply the log scaling yourself to the data prior to plotting.
Ben Root
On Thu, Jan 29, 2015 at 5:30 PM, John Ladasky <joh...@sb...>
wrote:
> The following minimal code example illustrates a problem I'm having.
>
> import matplotlib.pyplot as plt
> from mpl_toolkits.mplot3d import Axes3D
>
> # succeeds
> fig = plt.figure()
> ax = fig.add_subplot(111, projection='3d')
> plt.show()
>
> # succeeds
> fig = plt.figure()
> ax = fig.add_subplot(111)
> ax.set_xscale("log")
> plt.show()
>
> # fails
> fig = plt.figure()
> ax = fig.add_subplot(111, projection='3d')
> ax.set_xscale("log")
> plt.show()
>
>
> Here is the traceback:
>
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/lib/python3.4/tkinter/__init__.py", line 1490, in __call__
> return self.func(*args)
> File
> "/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py", line
> 276, in resize
> self.show()
> File
> "/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py", line
> 348, in draw
> FigureCanvasAgg.draw(self)
> File
> "/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py", line
> 451, in draw
> self.figure.draw(self.renderer)
> File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 56, in
> draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File "/usr/lib/python3/dist-packages/matplotlib/figure.py", line 1035,
> in draw
> func(*args)
> File "/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/axes3d.py",
> line 267, in draw
> ax.draw(renderer)
> File "/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/axis3d.py",
> line 404, in draw
> tick.draw(renderer)
> File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 56, in
> draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File "/usr/lib/python3/dist-packages/matplotlib/axis.py", line 242, in
> draw
> self.label1.draw(renderer)
> File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 56, in
> draw_wrapper
> draw(artist, renderer, *args, **kwargs)
> File "/usr/lib/python3/dist-packages/matplotlib/text.py", line 599, in
> draw
> ismath=ismath, mtext=self)
> File
> "/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py", line
> 169, in draw_text
> return self.draw_mathtext(gc, x, y, s, prop, angle)
> File
> "/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py", line
> 158, in draw_mathtext
> x = np.round(x + ox + xd)
> File "/usr/lib/python3/dist-packages/numpy/core/fromnumeric.py", line
> 2629, in round_
> return round(decimals, out)
> File "/usr/lib/python3/dist-packages/numpy/ma/core.py", line 4855, in
> round
> result._mask = self._mask
> AttributeError: 'numpy.float64' object has no attribute '_mask'
>
> I am hoping to use logarithmic axes in a 3D plot. I haven't found
> anything in the documentation which says that I am restricted to linear
> scaling. My system configuration is: Python 3.4, Matplotlib 1.3.1, Ubuntu
> Linux 14.04 64-bit. My system is selecting the TKAgg backend.
>
> Any advice is appreciated, thanks!
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
|
|
From: John L. <joh...@sb...> - 2015-01-29 22:30:13
|
The following minimal code example illustrates a problem I'm having.
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
# succeeds
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
plt.show()
# succeeds
fig = plt.figure()
ax = fig.add_subplot(111)
ax.set_xscale("log")
plt.show()
# fails
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.set_xscale("log")
plt.show()
Here is the traceback:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.4/tkinter/__init__.py", line 1490, in __call__
return self.func(*args)
File
"/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py",
line 276, in resize
self.show()
File
"/usr/lib/python3/dist-packages/matplotlib/backends/backend_tkagg.py",
line 348, in draw
FigureCanvasAgg.draw(self)
File
"/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py",
line 451, in draw
self.figure.draw(self.renderer)
File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line
56, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/figure.py", line
1035, in draw
func(*args)
File
"/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/axes3d.py",
line 267, in draw
ax.draw(renderer)
File
"/usr/lib/python3/dist-packages/mpl_toolkits/mplot3d/axis3d.py",
line 404, in draw
tick.draw(renderer)
File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line
56, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/axis.py", line
242, in draw
self.label1.draw(renderer)
File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line
56, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/text.py", line
599, in draw
ismath=ismath, mtext=self)
File
"/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py",
line 169, in draw_text
return self.draw_mathtext(gc, x, y, s, prop, angle)
File
"/usr/lib/python3/dist-packages/matplotlib/backends/backend_agg.py",
line 158, in draw_mathtext
x = np.round(x + ox + xd)
File "/usr/lib/python3/dist-packages/numpy/core/fromnumeric.py",
line 2629, in round_
return round(decimals, out)
File "/usr/lib/python3/dist-packages/numpy/ma/core.py", line
4855, in round
result._mask = self._mask
AttributeError: 'numpy.float64' object has no attribute '_mask'
I am hoping to use logarithmic axes in a 3D plot. I haven't found
anything in the documentation which says that I am restricted to linear
scaling. My system configuration is: Python 3.4, Matplotlib 1.3.1,
Ubuntu Linux 14.04 64-bit. My system is selecting the TKAgg backend.
Any advice is appreciated, thanks!
|
|
From: Sterling S. <sm...@fu...> - 2015-01-28 20:14:22
|
Did you come across http://matplotlib.org/examples/user_interfaces/embedding_in_qt4.html ? -Sterling On Jan 28, 2015, at 11:38AM, mo...@po... wrote: > On 2015-01-28 16:25 Thomas Caswell <tca...@gm...> wrote: >> It should be exactly the same as for Qt4, just importing from the Qt5 >> version > > Sorry, but my question was to unspecific. > > I don't know how it worked with Qt4. > > I need to know I can "draw" a plot into a QWidget or something else. I > couldn't find an example or documentation about it. > > ------------------------------------------------------------------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Paul H. <pmh...@gm...> - 2015-01-28 19:43:11
|
At the top of www.matplotlib.org, there is an "examples" link. Scroll down a bit, there's a section titled "user interface examples" http://matplotlib.org/examples/user_interfaces/index.html The QT4 example works on my machine currently, so it's reasonably up to date. -p On Wed, Jan 28, 2015 at 11:38 AM, <mo...@po...> wrote: > On 2015-01-28 16:25 Thomas Caswell <tca...@gm...> wrote: > > It should be exactly the same as for Qt4, just importing from the Qt5 > > version > > Sorry, but my question was to unspecific. > > I don't know how it worked with Qt4. > > I need to know I can "draw" a plot into a QWidget or something else. I > couldn't find an example or documentation about it. > > > ------------------------------------------------------------------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Thomas C. <tca...@gm...> - 2015-01-28 19:42:50
|
http://matplotlib.org/examples/user_interfaces/embedding_in_qt4_wtoolbar.html and http://matplotlib.org/examples/user_interfaces/embedding_in_qt4.html are a good place to start. Embedding a mpl figure in a QWidget is how the QtAgg backend family works and how the interactive windows work. Tom On Wed Jan 28 2015 at 2:39:16 PM <mo...@po...> wrote: > On 2015-01-28 16:25 Thomas Caswell <tca...@gm...> wrote: > > It should be exactly the same as for Qt4, just importing from the Qt5 > > version > > Sorry, but my question was to unspecific. > > I don't know how it worked with Qt4. > > I need to know I can "draw" a plot into a QWidget or something else. I > couldn't find an example or documentation about it. > > ------------------------------------------------------------ > ------------------ > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |