From isaac.gerg at gergltd.com Mon May 1 14:29:37 2017 From: isaac.gerg at gergltd.com (Isaac Gerg) Date: Mon, 1 May 2017 14:29:37 -0400 Subject: [Matplotlib-devel] bar plot xtick limits with dates Message-ID: Hi all, I am trying to make a plot from a pandas dataframe and i cannot for the life of me get the xlabels to stay within range of the data. Any suggestions? attached is the plot in question. The code is: plt.figure() fig = matplotlib.pyplot.gcf() fig.set_size_inches(16,9) plt.title('Number Abnormal Events Per Week By Type') plt.bar(tmp2.index, tmp2['loose'], color='C1', width=4) plt.bar(tmp2.index, tmp2['hard'], color='C2', width=4, bottom=tmp2['loose']) plt.ylabel('Count') plt.xlabel('Week') plt.legend(['l','h']) plt.xticks(rotation='vertical') ax = matplotlib.pyplot.gca() ax.xaxis.set_major_formatter(matplotlib.dates.DateFormatter('%Y-%m-%d')) ax.xaxis.set_major_locator(mdates.WeekdayLocator(byweekday=mdates.MO)) plt.savefig(r'output\abnormal.png', bbox='tight') with tmp2.index DatetimeIndex(['2017-01-02', '2017-01-09', '2017-01-16', '2017-01-23', '2017-01-30', '2017-02-06', '2017-02-13', '2017-02-20', '2017-02-27', '2017-03-06', '2017-03-13', '2017-03-20', '2017-03-27', '2017-04-03', '2017-04-10', '2017-04-17', '2017-04-24'], dtype='datetime64[ns]', name='datetime', freq='W-MON') I would like to remove the xlabels on either end of the data (12-26 and 05-01). Thanks, Isaac [image: Inline image 1] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: abnormal.png Type: image/png Size: 203167 bytes Desc: not available URL: From jklymak at uvic.ca Mon May 1 14:50:31 2017 From: jklymak at uvic.ca (Klymak Jody) Date: Mon, 1 May 2017 11:50:31 -0700 Subject: [Matplotlib-devel] bar plot xtick limits with dates In-Reply-To: References: Message-ID: <8F89021B-C16B-4223-8E84-7754FE1E7A69@uvic.ca> Did you try ax.set_xlim after your tick locator calls? Cheers. Jody. Sent from my iPhone > On May 1, 2017, at 11:29, Isaac Gerg wrote: > > Hi all, > > I am trying to make a plot from a pandas dataframe and i cannot for the life of me get the xlabels to stay within range of the data. Any suggestions? > > attached is the plot in question. The code is: > > plt.figure() > fig = matplotlib.pyplot.gcf() > fig.set_size_inches(16,9) > plt.title('Number Abnormal Events Per Week By Type') > plt.bar(tmp2.index, tmp2['loose'], color='C1', width=4) > plt.bar(tmp2.index, tmp2['hard'], color='C2', width=4, bottom=tmp2['loose']) > plt.ylabel('Count') > plt.xlabel('Week') > plt.legend(['l','h']) > plt.xticks(rotation='vertical') > ax = matplotlib.pyplot.gca() > ax.xaxis.set_major_formatter(matplotlib.dates.DateFormatter('%Y-%m-%d')) > ax.xaxis.set_major_locator(mdates.WeekdayLocator(byweekday=mdates.MO)) > plt.savefig(r'output\abnormal.png', bbox='tight') > > with > > tmp2.index > DatetimeIndex(['2017-01-02', '2017-01-09', '2017-01-16', '2017-01-23', > '2017-01-30', '2017-02-06', '2017-02-13', '2017-02-20', > '2017-02-27', '2017-03-06', '2017-03-13', '2017-03-20', > '2017-03-27', '2017-04-03', '2017-04-10', '2017-04-17', > '2017-04-24'], > dtype='datetime64[ns]', name='datetime', freq='W-MON') > > > I would like to remove the xlabels on either end of the data (12-26 and 05-01). > > Thanks, > Isaac > > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel From isaac.gerg at gergltd.com Mon May 1 14:58:26 2017 From: isaac.gerg at gergltd.com (Isaac Gerg) Date: Mon, 1 May 2017 14:58:26 -0400 Subject: [Matplotlib-devel] bar plot xtick limits with dates In-Reply-To: <8F89021B-C16B-4223-8E84-7754FE1E7A69@uvic.ca> References: <8F89021B-C16B-4223-8E84-7754FE1E7A69@uvic.ca> Message-ID: No. Do I use a string with it? Sent from my Android. On May 1, 2017 2:50 PM, "Klymak Jody" wrote: > Did you try ax.set_xlim after your tick locator calls? > > Cheers. Jody. > > Sent from my iPhone > > > On May 1, 2017, at 11:29, Isaac Gerg wrote: > > > > Hi all, > > > > I am trying to make a plot from a pandas dataframe and i cannot for the > life of me get the xlabels to stay within range of the data. Any > suggestions? > > > > attached is the plot in question. The code is: > > > > plt.figure() > > fig = matplotlib.pyplot.gcf() > > fig.set_size_inches(16,9) > > plt.title('Number Abnormal Events Per Week By Type') > > plt.bar(tmp2.index, tmp2['loose'], color='C1', width=4) > > plt.bar(tmp2.index, tmp2['hard'], color='C2', width=4, > bottom=tmp2['loose']) > > plt.ylabel('Count') > > plt.xlabel('Week') > > plt.legend(['l','h']) > > plt.xticks(rotation='vertical') > > ax = matplotlib.pyplot.gca() > > ax.xaxis.set_major_formatter(matplotlib.dates.DateFormatter('%Y-%m-%d')) > > ax.xaxis.set_major_locator(mdates.WeekdayLocator(byweekday=mdates.MO)) > > plt.savefig(r'output\abnormal.png', bbox='tight') > > > > with > > > > tmp2.index > > DatetimeIndex(['2017-01-02', '2017-01-09', '2017-01-16', '2017-01-23', > > '2017-01-30', '2017-02-06', '2017-02-13', '2017-02-20', > > '2017-02-27', '2017-03-06', '2017-03-13', '2017-03-20', > > '2017-03-27', '2017-04-03', '2017-04-10', '2017-04-17', > > '2017-04-24'], > > dtype='datetime64[ns]', name='datetime', freq='W-MON') > > > > > > I would like to remove the xlabels on either end of the data (12-26 and > 05-01). > > > > Thanks, > > Isaac > > > > _______________________________________________ > > Matplotlib-devel mailing list > > Matplotlib-devel at python.org > > https://mail.python.org/mailman/listinfo/matplotlib-devel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcaswell at gmail.com Mon May 1 15:13:50 2017 From: tcaswell at gmail.com (Thomas Caswell) Date: Mon, 01 May 2017 19:13:50 +0000 Subject: [Matplotlib-devel] phone call 2017-05-01 Message-ID: Folks, Another short call this week. My self, Eric Firing and Paul Hobson. - The sphinx gallery migration is looking great! - if examples make 3 or more figures, should be a tutorial with explanatory text - maybe start to look at tutorial section as 'matplotlib book', tutorials map to chapters? - I plan to tag 2.0.1 today Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From isaac.gerg at gergltd.com Mon May 1 15:22:48 2017 From: isaac.gerg at gergltd.com (Isaac Gerg) Date: Mon, 1 May 2017 15:22:48 -0400 Subject: [Matplotlib-devel] bar plot xtick limits with dates In-Reply-To: References: <8F89021B-C16B-4223-8E84-7754FE1E7A69@uvic.ca> Message-ID: A simple string with the date in it as listed on the x-axis in the image worked -- thank you! On Mon, May 1, 2017 at 2:58 PM, Isaac Gerg wrote: > No. Do I use a string with it? > > Sent from my Android. > > On May 1, 2017 2:50 PM, "Klymak Jody" wrote: > >> Did you try ax.set_xlim after your tick locator calls? >> >> Cheers. Jody. >> >> Sent from my iPhone >> >> > On May 1, 2017, at 11:29, Isaac Gerg wrote: >> > >> > Hi all, >> > >> > I am trying to make a plot from a pandas dataframe and i cannot for the >> life of me get the xlabels to stay within range of the data. Any >> suggestions? >> > >> > attached is the plot in question. The code is: >> > >> > plt.figure() >> > fig = matplotlib.pyplot.gcf() >> > fig.set_size_inches(16,9) >> > plt.title('Number Abnormal Events Per Week By Type') >> > plt.bar(tmp2.index, tmp2['loose'], color='C1', width=4) >> > plt.bar(tmp2.index, tmp2['hard'], color='C2', width=4, >> bottom=tmp2['loose']) >> > plt.ylabel('Count') >> > plt.xlabel('Week') >> > plt.legend(['l','h']) >> > plt.xticks(rotation='vertical') >> > ax = matplotlib.pyplot.gca() >> > ax.xaxis.set_major_formatter(matplotlib.dates.DateFormatter( >> '%Y-%m-%d')) >> > ax.xaxis.set_major_locator(mdates.WeekdayLocator(byweekday=mdates.MO)) >> > plt.savefig(r'output\abnormal.png', bbox='tight') >> > >> > with >> > >> > tmp2.index >> > DatetimeIndex(['2017-01-02', '2017-01-09', '2017-01-16', '2017-01-23', >> > '2017-01-30', '2017-02-06', '2017-02-13', '2017-02-20', >> > '2017-02-27', '2017-03-06', '2017-03-13', '2017-03-20', >> > '2017-03-27', '2017-04-03', '2017-04-10', '2017-04-17', >> > '2017-04-24'], >> > dtype='datetime64[ns]', name='datetime', freq='W-MON') >> > >> > >> > I would like to remove the xlabels on either end of the data (12-26 and >> 05-01). >> > >> > Thanks, >> > Isaac >> > >> > _______________________________________________ >> > Matplotlib-devel mailing list >> > Matplotlib-devel at python.org >> > https://mail.python.org/mailman/listinfo/matplotlib-devel >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From isaac.gerg at gergltd.com Mon May 1 15:25:18 2017 From: isaac.gerg at gergltd.com (Isaac Gerg) Date: Mon, 1 May 2017 15:25:18 -0400 Subject: [Matplotlib-devel] bar plot xtick limits with dates In-Reply-To: References: <8F89021B-C16B-4223-8E84-7754FE1E7A69@uvic.ca> Message-ID: i eventually settled on set_xlim(tmp2.index[0], tmp2.index[-1]) Why would matplotlib go out as far as it did in the first place? On Mon, May 1, 2017 at 3:22 PM, Isaac Gerg wrote: > A simple string with the date in it as listed on the x-axis in the image > worked -- thank you! > > On Mon, May 1, 2017 at 2:58 PM, Isaac Gerg wrote: > >> No. Do I use a string with it? >> >> Sent from my Android. >> >> On May 1, 2017 2:50 PM, "Klymak Jody" wrote: >> >>> Did you try ax.set_xlim after your tick locator calls? >>> >>> Cheers. Jody. >>> >>> Sent from my iPhone >>> >>> > On May 1, 2017, at 11:29, Isaac Gerg wrote: >>> > >>> > Hi all, >>> > >>> > I am trying to make a plot from a pandas dataframe and i cannot for >>> the life of me get the xlabels to stay within range of the data. Any >>> suggestions? >>> > >>> > attached is the plot in question. The code is: >>> > >>> > plt.figure() >>> > fig = matplotlib.pyplot.gcf() >>> > fig.set_size_inches(16,9) >>> > plt.title('Number Abnormal Events Per Week By Type') >>> > plt.bar(tmp2.index, tmp2['loose'], color='C1', width=4) >>> > plt.bar(tmp2.index, tmp2['hard'], color='C2', width=4, >>> bottom=tmp2['loose']) >>> > plt.ylabel('Count') >>> > plt.xlabel('Week') >>> > plt.legend(['l','h']) >>> > plt.xticks(rotation='vertical') >>> > ax = matplotlib.pyplot.gca() >>> > ax.xaxis.set_major_formatter(matplotlib.dates.DateFormatter( >>> '%Y-%m-%d')) >>> > ax.xaxis.set_major_locator(mdates.WeekdayLocator(byweekday=mdates.MO)) >>> > plt.savefig(r'output\abnormal.png', bbox='tight') >>> > >>> > with >>> > >>> > tmp2.index >>> > DatetimeIndex(['2017-01-02', '2017-01-09', '2017-01-16', '2017-01-23', >>> > '2017-01-30', '2017-02-06', '2017-02-13', '2017-02-20', >>> > '2017-02-27', '2017-03-06', '2017-03-13', '2017-03-20', >>> > '2017-03-27', '2017-04-03', '2017-04-10', '2017-04-17', >>> > '2017-04-24'], >>> > dtype='datetime64[ns]', name='datetime', freq='W-MON') >>> > >>> > >>> > I would like to remove the xlabels on either end of the data (12-26 >>> and 05-01). >>> > >>> > Thanks, >>> > Isaac >>> > >>> > _______________________________________________ >>> > Matplotlib-devel mailing list >>> > Matplotlib-devel at python.org >>> > https://mail.python.org/mailman/listinfo/matplotlib-devel >>> >>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jklymak at uvic.ca Mon May 1 15:26:42 2017 From: jklymak at uvic.ca (Jody Klymak) Date: Mon, 1 May 2017 12:26:42 -0700 Subject: [Matplotlib-devel] bar plot xtick limits with dates In-Reply-To: References: <8F89021B-C16B-4223-8E84-7754FE1E7A69@uvic.ca> Message-ID: <70155945-5A45-4EC3-9A9B-FFA5345746CA@uvic.ca> > On 1 May 2017, at 12:22 PM, Isaac Gerg wrote: > > A simple string with the date in it as listed on the x-axis in the image worked -- thank you! Oh, thats fancy, I didn?t know xlim would take a string. Glad it works. I was just trying to remind myself how to convert from a string to datetime64[ns]. Usually xlim is entered as a number? Cheers, Jody -- Jody Klymak http://web.uvic.ca/~jklymak/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcaswell at gmail.com Mon May 1 23:44:12 2017 From: tcaswell at gmail.com (Thomas Caswell) Date: Tue, 02 May 2017 03:44:12 +0000 Subject: [Matplotlib-devel] REL: matplotlib v2.0.1 Message-ID: Folks, I have tagged 2.0.1 and (attempted) to kick off the various binary building processes. Hopefully those will all be good to go tomorrow so I can upload to pypi and make a wider announcement. At Nelle's suggestion, we are skipping an rc on this release. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcaswell at gmail.com Tue May 2 22:13:44 2017 From: tcaswell at gmail.com (Thomas Caswell) Date: Wed, 03 May 2017 02:13:44 +0000 Subject: [Matplotlib-devel] [REL] Matplotlib v2.0.1 Message-ID: Folks, Happy to announce the only slightly delayed release of 2.0.1, the first bug fix release for 2.0.x series. Source and wheels are an pypi and conda packages are available from the conda forge channel pip install --upgrade matplotlib or conda install matplotlib -c conda-forge This release includes bug fixes, documentation updates and one major change. API - Do not clip the linewidth used for dash pattern scaling. This is an API change, but is a major improvement. - Deprecate 'vega' color names in favor of 'tab'. Bug Fixes - Hatching color follows edge color again. - Fixes a critical bug with masked images. - Improved high-dpi support for Qt5. - Log ticking no never skip minor ticks - Do not skip points surrounded by nan/inf in vector outputs. Supported versions of Python - 2.7, 3.4, 3.5, 3.6 - Patches to improve compatibility with pypy Many thanks to everyone who helped with this release! Thanks to Mathew Brett and Christoph Gohlke for building the wheels. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcaswell at gmail.com Wed May 3 10:17:30 2017 From: tcaswell at gmail.com (Thomas Caswell) Date: Wed, 03 May 2017 14:17:30 +0000 Subject: [Matplotlib-devel] Data exploration tools when plotting In-Reply-To: References: Message-ID: https://pypi.python.org/pypi/mpldatacursor and http://glueviz.org/en/stable/ might also be of interest. There is already the mouse position read out, which is not specific to the point, but can be 'good enough' If you have a specific application, the tools are there to build it: https://matplotlib.org/users/event_handling.html Tom On Fri, Apr 28, 2017 at 4:40 PM Antony Lee wrote: > See also (self plug) https://mplcursors.readthedocs.io/en/latest/. > Antony > > 2017-04-28 10:28 GMT-07:00 Isaac Gerg : > >> thank you! >> >> On Fri, Apr 28, 2017 at 1:26 PM, Federico Ariza > > wrote: >> >>> Hello >>> >>> There are no immediate plans, but the new ToolbarManager makes it pretty >>> easy for you to implement different kind of tools and add them to the >>> toolbar. >>> >>> Take a look at the example >>> https://matplotlib.org/examples/user_interfaces/toolmanager.html and >>> let me know if it helps >>> >>> Federico >>> >>> On Apr 28, 2017 1:10 PM, "Isaac Gerg" wrote: >>> >>>> Are there any plans to put in data exploration tools into plotting? >>>> For example, if I do a simple plt.plot(np.sin(np.linspace(0,2*np.pi), 100); >>>> plt.show(), putting a tool in the toolbar whereby I can click on a point >>>> and get its x,y value? >>>> >>>> Thanks, >>>> Isaac >>>> >>>> _______________________________________________ >>>> Matplotlib-devel mailing list >>>> Matplotlib-devel at python.org >>>> https://mail.python.org/mailman/listinfo/matplotlib-devel >>>> >>>> >> >> _______________________________________________ >> Matplotlib-devel mailing list >> Matplotlib-devel at python.org >> https://mail.python.org/mailman/listinfo/matplotlib-devel >> >> > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From isaac.gerg at gergltd.com Wed May 3 10:19:14 2017 From: isaac.gerg at gergltd.com (Isaac Gerg) Date: Wed, 3 May 2017 10:19:14 -0400 Subject: [Matplotlib-devel] Data exploration tools when plotting In-Reply-To: References: Message-ID: I was using matlab to analyze some data and thought the inspection tools were really nice and convenient but also simple. On Wed, May 3, 2017 at 10:17 AM, Thomas Caswell wrote: > https://pypi.python.org/pypi/mpldatacursor and http:// > glueviz.org/en/stable/ might also be of interest. > > There is already the mouse position read out, which is not specific to the > point, but can be 'good enough' > > If you have a specific application, the tools are there to build it: > https://matplotlib.org/users/event_handling.html > > Tom > > On Fri, Apr 28, 2017 at 4:40 PM Antony Lee > wrote: > >> See also (self plug) https://mplcursors.readthedocs.io/en/latest/. >> Antony >> >> 2017-04-28 10:28 GMT-07:00 Isaac Gerg : >> >>> thank you! >>> >>> On Fri, Apr 28, 2017 at 1:26 PM, Federico Ariza < >>> ariza.federico at gmail.com> wrote: >>> >>>> Hello >>>> >>>> There are no immediate plans, but the new ToolbarManager makes it >>>> pretty easy for you to implement different kind of tools and add them to >>>> the toolbar. >>>> >>>> Take a look at the example https://matplotlib.org/ >>>> examples/user_interfaces/toolmanager.html and let me know if it helps >>>> >>>> Federico >>>> >>>> On Apr 28, 2017 1:10 PM, "Isaac Gerg" wrote: >>>> >>>>> Are there any plans to put in data exploration tools into plotting? >>>>> For example, if I do a simple plt.plot(np.sin(np.linspace(0,2*np.pi), >>>>> 100); plt.show(), putting a tool in the toolbar whereby I can click on a >>>>> point and get its x,y value? >>>>> >>>>> Thanks, >>>>> Isaac >>>>> >>>>> _______________________________________________ >>>>> Matplotlib-devel mailing list >>>>> Matplotlib-devel at python.org >>>>> https://mail.python.org/mailman/listinfo/matplotlib-devel >>>>> >>>>> >>> >>> _______________________________________________ >>> Matplotlib-devel mailing list >>> Matplotlib-devel at python.org >>> https://mail.python.org/mailman/listinfo/matplotlib-devel >>> >>> >> _______________________________________________ >> Matplotlib-devel mailing list >> Matplotlib-devel at python.org >> https://mail.python.org/mailman/listinfo/matplotlib-devel >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From isaac.gerg at gergltd.com Wed May 3 14:34:55 2017 From: isaac.gerg at gergltd.com (Isaac Gerg) Date: Wed, 3 May 2017 14:34:55 -0400 Subject: [Matplotlib-devel] Data exploration tools when plotting In-Reply-To: References: Message-ID: I've never heard of nexpy -- thanks for sharing! Aside from having a simple tool to explore data in a fashion similar to matlab, it would be nice to have a properties editor so that one can futz with the linestyle's etc until satisfied and then be able to update their rc file. Isaac On Wed, May 3, 2017 at 2:25 PM, Osborn, Raymond wrote: > It is probably overkill for what you want, but perhaps I can put a plug in > for NeXpy (http://nexpy.github.io/nexpy/), which embeds a Matplotlib > window in a PyQt GUI that includes an IPython shell. It automatically shows > the cursor positions in the Options tab. Your question makes me realize > that it would be easy to store the values of a cursor click in shell > variables - it is used programmatically in a few places, but the values are > not currently accessible from the shell. I am releasing a new version soon, > so I will see if I can include it. > > NeXpy is designed as a simple toolbox for viewing and manipulating HDF5 > files, with an underlying API that allows you to construct HDF5 data > structures in memory before saving them. However, you can do a lot in the > shell without needing to save the data as HDF5. Using your example, you > would just need to type in the shell > > >>> x=np.linspace(0, 2*np.pi, 100) > >>> NXdata(np.sin(x), x).plot() > > Ray > > On May 3, 2017, at 9:19 AM, Isaac Gerg wrote: > >> >>>>> On Apr 28, 2017 1:10 PM, "Isaac Gerg" wrote: >>>>> >>>>>> Are there any plans to put in data exploration tools into plotting? >>>>>> For example, if I do a simple plt.plot(np.sin(np.linspace(0,2*np.pi), >>>>>> 100); plt.show(), putting a tool in the toolbar whereby I can click on a >>>>>> point and get its x,y value? >>>>>> >>>>>> Thanks, >>>>>> Isaac >>>>>> >>>>>> _______________________________________________ >>>>>> Matplotlib-devel mailing list >>>>>> Matplotlib-devel at python.org >>>>>> https://mail.python.org/mailman/listinfo/matplotlib-devel >>>>>> >>>>>> >>>> >>>> _______________________________________________ >>>> Matplotlib-devel mailing list >>>> Matplotlib-devel at python.org >>>> https://mail.python.org/mailman/listinfo/matplotlib-devel >>>> >>>> >>> _______________________________________________ >>> Matplotlib-devel mailing list >>> Matplotlib-devel at python.org >>> https://mail.python.org/mailman/listinfo/matplotlib-devel >>> >> > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > > > -- > Ray Osborn, Senior Scientist > Materials Science Division > Argonne National Laboratory > Argonne, IL 60439, USA > Phone: +1 (630) 252-9011 <(630)%20252-9011> > Email: ROsborn at anl.gov > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcaswell at gmail.com Tue May 9 22:38:03 2017 From: tcaswell at gmail.com (Thomas Caswell) Date: Wed, 10 May 2017 02:38:03 +0000 Subject: [Matplotlib-devel] Matplotlib 2.0.2 Message-ID: Folks, I just tagged 2.0.2 Critical bug fixes for 2.0.1 - fixed Qt4 support - fixed LogFormatter - fixed hatched artists in legends - fixed segfault with large images I will do a wider announcement, rebuild the docs, and upload to pypi once I have collected the wheels. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcaswell at gmail.com Sat May 13 15:45:33 2017 From: tcaswell at gmail.com (Thomas Caswell) Date: Sat, 13 May 2017 19:45:33 +0000 Subject: [Matplotlib-devel] 2017-05-08 phone call Message-ID: Folks, Sorry for being so late on getting this out. My self, Eric Firing and Ryan May. - Went over the last few issues for 2.0.2 (which has subsequently been tagged and released) - discussed future release plans Going forward, we do not plan to do a 2.0.3 (unless we find another truly egregious regression) and plan to get a 2.1 RC in time for scipy (July). This leaves the question of what to do with our milestones as we have 600+ things tagged for 2.0.3. In general, we need some way to differentiate 'This must go in for this release X.Y.Z' and 'This can / sholud be merged / backported for release X.Y.Z'. Maybe we should have a 'next minor' and 'next patch' milestones to hold the 'can/should' issues / PRs and use the explicitly numbered milestones for the 'must' category? Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmay31 at gmail.com Sun May 14 11:42:27 2017 From: rmay31 at gmail.com (Ryan May) Date: Sun, 14 May 2017 15:42:27 +0000 Subject: [Matplotlib-devel] 2017-05-08 phone call In-Reply-To: References: Message-ID: On Sat, May 13, 2017 at 1:46 PM Thomas Caswell wrote: > Folks, > > Sorry for being so late on getting this out. > > My self, Eric Firing and Ryan May. > > - Went over the last few issues for 2.0.2 (which has subsequently been > tagged and released) > - discussed future release plans > > Going forward, we do not plan to do a 2.0.3 (unless we find another truly > egregious regression) and plan to get a 2.1 RC in time for scipy (July). > > This leaves the question of what to do with our milestones as we have 600+ > things tagged for 2.0.3. In general, we need some way to differentiate > 'This must go in for this release X.Y.Z' and 'This can / sholud be merged / > backported for release X.Y.Z'. > > Maybe we should have a 'next minor' and 'next patch' milestones to hold > the 'can/should' issues / PRs and use the explicitly numbered milestones > for the 'must' category? > How about labels for priority or importance instead of milestones? I really don't like the idea of multiple concurrent milestones for a single release. Ryan > -- Ryan May -------------- next part -------------- An HTML attachment was scrubbed... URL: From morph at debian.org Tue May 16 14:37:56 2017 From: morph at debian.org (Sandro Tosi) Date: Tue, 16 May 2017 14:37:56 -0400 Subject: [Matplotlib-devel] Matplotlib 2.0.2 In-Reply-To: References: Message-ID: Hey Thomas! i'm considering to upgrade mpl from 2.0.0 in the upcoming debian release to 2.0.2, but to do that i'd need a (detailed) list of all the critical changes between 2.0.0 and 2.0.2; looking on the website i can only find https://matplotlib.org/api/api_changes.html while --while important-- does not include f.e. the changes mentioned in this email. Do you have such a list? can i easily generate it? thanks in advance! On Tue, May 9, 2017 at 10:38 PM, Thomas Caswell wrote: > Folks, > > > I just tagged 2.0.2 > > Critical bug fixes for 2.0.1 > > - fixed Qt4 support > - fixed LogFormatter > - fixed hatched artists in legends > - fixed segfault with large images > > > I will do a wider announcement, rebuild the docs, and upload to pypi once I > have collected the wheels. > > > Tom > > > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi G+: https://plus.google.com/u/0/+SandroTosi From tcaswell at gmail.com Tue May 16 14:40:13 2017 From: tcaswell at gmail.com (Thomas Caswell) Date: Tue, 16 May 2017 18:40:13 +0000 Subject: [Matplotlib-devel] Matplotlib 2.0.2 In-Reply-To: References: Message-ID: https://github.com/matplotlib/matplotlib/releases is probably the best place for both 2.0.1 and 2.0.2. This _should_ be on the website. Tom On Tue, May 16, 2017 at 2:38 PM Sandro Tosi wrote: > Hey Thomas! > i'm considering to upgrade mpl from 2.0.0 in the upcoming debian > release to 2.0.2, but to do that i'd need a (detailed) list of all the > critical changes between 2.0.0 and 2.0.2; looking on the website i can > only find https://matplotlib.org/api/api_changes.html while --while > important-- does not include f.e. the changes mentioned in this email. > > Do you have such a list? can i easily generate it? > > thanks in advance! > > On Tue, May 9, 2017 at 10:38 PM, Thomas Caswell > wrote: > > Folks, > > > > > > I just tagged 2.0.2 > > > > Critical bug fixes for 2.0.1 > > > > - fixed Qt4 support > > - fixed LogFormatter > > - fixed hatched artists in legends > > - fixed segfault with large images > > > > > > I will do a wider announcement, rebuild the docs, and upload to pypi > once I > > have collected the wheels. > > > > > > Tom > > > > > > _______________________________________________ > > Matplotlib-devel mailing list > > Matplotlib-devel at python.org > > https://mail.python.org/mailman/listinfo/matplotlib-devel > > > > > > -- > Sandro "morph" Tosi > My website: http://sandrotosi.me/ > Me at Debian: http://wiki.debian.org/SandroTosi > G+: https://plus.google.com/u/0/+SandroTosi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From morph at debian.org Tue May 16 14:48:26 2017 From: morph at debian.org (Sandro Tosi) Date: Tue, 16 May 2017 14:48:26 -0400 Subject: [Matplotlib-devel] Matplotlib 2.0.2 In-Reply-To: References: Message-ID: i may have looked too quickly and missed it - but that's something i can work with, thanks Tom for the quick reply, as usual! On Tue, May 16, 2017 at 2:40 PM, Thomas Caswell wrote: > https://github.com/matplotlib/matplotlib/releases is probably the best place > for both 2.0.1 and 2.0.2. > > This _should_ be on the website. > > Tom > > On Tue, May 16, 2017 at 2:38 PM Sandro Tosi wrote: >> >> Hey Thomas! >> i'm considering to upgrade mpl from 2.0.0 in the upcoming debian >> release to 2.0.2, but to do that i'd need a (detailed) list of all the >> critical changes between 2.0.0 and 2.0.2; looking on the website i can >> only find https://matplotlib.org/api/api_changes.html while --while >> important-- does not include f.e. the changes mentioned in this email. >> >> Do you have such a list? can i easily generate it? >> >> thanks in advance! >> >> On Tue, May 9, 2017 at 10:38 PM, Thomas Caswell >> wrote: >> > Folks, >> > >> > >> > I just tagged 2.0.2 >> > >> > Critical bug fixes for 2.0.1 >> > >> > - fixed Qt4 support >> > - fixed LogFormatter >> > - fixed hatched artists in legends >> > - fixed segfault with large images >> > >> > >> > I will do a wider announcement, rebuild the docs, and upload to pypi >> > once I >> > have collected the wheels. >> > >> > >> > Tom >> > >> > >> > _______________________________________________ >> > Matplotlib-devel mailing list >> > Matplotlib-devel at python.org >> > https://mail.python.org/mailman/listinfo/matplotlib-devel >> > >> >> >> >> -- >> Sandro "morph" Tosi >> My website: http://sandrotosi.me/ >> Me at Debian: http://wiki.debian.org/SandroTosi >> G+: https://plus.google.com/u/0/+SandroTosi -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi G+: https://plus.google.com/u/0/+SandroTosi From tcaswell at gmail.com Tue May 16 14:51:11 2017 From: tcaswell at gmail.com (Thomas Caswell) Date: Tue, 16 May 2017 18:51:11 +0000 Subject: [Matplotlib-devel] Matplotlib 2.0.2 In-Reply-To: References: Message-ID: To clarify a bit, I meant "it is not on the website, but should be" not "it is on the website but you did not see it" ;) Tom On Tue, May 16, 2017 at 2:48 PM Sandro Tosi wrote: > i may have looked too quickly and missed it - but that's something i > can work with, thanks Tom for the quick reply, as usual! > > On Tue, May 16, 2017 at 2:40 PM, Thomas Caswell > wrote: > > https://github.com/matplotlib/matplotlib/releases is probably the best > place > > for both 2.0.1 and 2.0.2. > > > > This _should_ be on the website. > > > > Tom > > > > On Tue, May 16, 2017 at 2:38 PM Sandro Tosi wrote: > >> > >> Hey Thomas! > >> i'm considering to upgrade mpl from 2.0.0 in the upcoming debian > >> release to 2.0.2, but to do that i'd need a (detailed) list of all the > >> critical changes between 2.0.0 and 2.0.2; looking on the website i can > >> only find https://matplotlib.org/api/api_changes.html while --while > >> important-- does not include f.e. the changes mentioned in this email. > >> > >> Do you have such a list? can i easily generate it? > >> > >> thanks in advance! > >> > >> On Tue, May 9, 2017 at 10:38 PM, Thomas Caswell > >> wrote: > >> > Folks, > >> > > >> > > >> > I just tagged 2.0.2 > >> > > >> > Critical bug fixes for 2.0.1 > >> > > >> > - fixed Qt4 support > >> > - fixed LogFormatter > >> > - fixed hatched artists in legends > >> > - fixed segfault with large images > >> > > >> > > >> > I will do a wider announcement, rebuild the docs, and upload to pypi > >> > once I > >> > have collected the wheels. > >> > > >> > > >> > Tom > >> > > >> > > >> > _______________________________________________ > >> > Matplotlib-devel mailing list > >> > Matplotlib-devel at python.org > >> > https://mail.python.org/mailman/listinfo/matplotlib-devel > >> > > >> > >> > >> > >> -- > >> Sandro "morph" Tosi > >> My website: http://sandrotosi.me/ > >> Me at Debian: http://wiki.debian.org/SandroTosi > >> G+: https://plus.google.com/u/0/+SandroTosi > > > > -- > Sandro "morph" Tosi > My website: http://sandrotosi.me/ > Me at Debian: http://wiki.debian.org/SandroTosi > G+: https://plus.google.com/u/0/+SandroTosi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.haessig at crans.org Thu May 18 10:24:12 2017 From: pierre.haessig at crans.org (Pierre Haessig) Date: Thu, 18 May 2017 16:24:12 +0200 Subject: [Matplotlib-devel] difference between filled and unfilled markers with mpl 2.0 style ? Message-ID: <67e56f3a-9f91-355b-9d9b-1df0a35b06a0@crans.org> Hello, Just a small inconsistency I noticed in the doc examples "lines_bars_and_markers" which relates to the 2.0 style change: * 1.5 : http://matplotlib.org/1.5.3/examples/lines_bars_and_markers/marker_reference.html * 2.0 : http://matplotlib.org/examples/lines_bars_and_markers/marker_reference.html The difference between filled and unfilled markers (for '.' vs 'o' or '5' vs '>' and some others) has become almost invisible. At least, it not about filled vs unfilled anymore. I would recommend keeping in this "unfilled" category only the markers made of segments (like '+', x'...) and promote the others (like '.', '5', '9'...) to filled. What do you think? Now as a different but related question, I'm missing a bit marker names for "truly unfilled" squares and circles. As of now, it takes a plot(x, y, 'o', fillstyle='none') to got a hollow circle. What do you think ? (maybe I'm just a bit lazy...) (Maybe 'O' could be hollow version of 'o'? This "capital trick" could work for 's' or 'v' as well, but fail for 'd' or '<'... ) best, Pierre -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcaswell at gmail.com Mon May 22 15:27:47 2017 From: tcaswell at gmail.com (Thomas Caswell) Date: Mon, 22 May 2017 19:27:47 +0000 Subject: [Matplotlib-devel] phone call 2017-05-22 Message-ID: Just my self and Eric Firing - brief discussion about also using circleci for testing / docs building as suggested by Qulogic - Eric is -1 on adding a third CI service and would rather see effort to make the tests run faster (like only running 'slow' tests on a cron job once a day) - Tom is neutral on it - Eric reports a possible bug with Qt5 + hi-dpi widgets ( http://currents.soest.hawaii.edu/hgstage/pycurrents/file/45193e2ff8ad/plot/txyselect.py ) that sounds like bad interaction of blitting and dpi scaling. I will investigate. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmcnick150 at frontier.com Thu May 18 17:00:56 2017 From: dmcnick150 at frontier.com (dmcnick150 at frontier.com) Date: Thu, 18 May 2017 21:00:56 -0000 Subject: [Matplotlib-devel] =?utf-8?q?Matplotlib_Finance_Maintenance?= Message-ID: <1495138733.977201925@f27.my.com> Hello! What is involved in maintaining the matplotlib.finance module? I am a daily user of the module and consider myself to be an okay Python script writer, but I wonder if maintaining the module is beyond my skill.? Thanks for your consideration, David McNickle? dmcnick150 at frontier.com Sent from myMail for iOS -------------- next part -------------- An HTML attachment was scrubbed... URL: