Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eradicate tk from hexrd.plotwrap #33

Open
ddale opened this issue Jul 7, 2014 · 1 comment
Open

eradicate tk from hexrd.plotwrap #33

ddale opened this issue Jul 7, 2014 · 1 comment
Milestone

Comments

@ddale
Copy link
Member

ddale commented Jul 7, 2014

What does plotwrap do? There are comments expressing dissatisfaction with the use of the Tk backend, and the fact that pyplot relies on new_figure_manager. We should not be using pyplot at all, that api is intended only for scripting. For a GUI application such as hexrd, we should be using matplotlib's object-oriented api, there are several wx examples at https://github.com/matplotlib/matplotlib/tree/master/examples/user_interfaces .

@joelvbernier
Copy link
Contributor

Nathan's old (predates the GUI) generic API for plotting. Included some fixes for cases with no display in older versions of Matplotlib. We've largely 'divested' from it, but it still has hooks here and there.

Sent from my iPhone

On Jul 7, 2014, at 12:09 PM, Darren Dale [email protected] wrote:

What does plotwrap do? There are comments expressing dissatisfaction with the use of the Tk backend, and the fact that pyplot relies on new_figure_manager. We should not be using pyplot at all, that api is intended only for scripting. For a GUI application such as hexrd, we should be using matplotlib's object-oriented api, there are several wx examples at https://github.com/matplotlib/matplotlib/tree/master/examples/user_interfaces .


Reply to this email directly or view it on GitHub.

ddale pushed a commit to ddale/hexrd that referenced this issue Jul 8, 2014
Adds support for windows package installers
@ddale ddale modified the milestone: 1.0.0 Nov 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants