-
Notifications
You must be signed in to change notification settings - Fork 206
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
IPywidgets UI #1544
Merged
francisco-dlp
merged 296 commits into
hyperspy:RELEASE_next_minor
from
francisco-dlp:ipywidgets
May 24, 2017
Merged
IPywidgets UI #1544
Changes from 1 commit
Commits
Show all changes
296 commits
Select commit
Hold shift + click to select a range
c257f26
Add display argument to all ipywidgets
francisco-dlp d639999
Automatic style corrections courtesy of autopep8
francisco-dlp 3b86cba
Fix display default
francisco-dlp e98ec41
Register axesmanager and preferences
francisco-dlp 995c8be
Automatic style corrections courtesy of autopep8
francisco-dlp ff0dc66
Rename gui decorator -> add_gui_method
francisco-dlp 4ac94c1
Automatic style corrections courtesy of autopep8
francisco-dlp be1fbb8
Register nav sliders and add kwargs to all widgets
francisco-dlp fe5d65d
Automatic style corrections courtesy of autopep8
francisco-dlp e14d0b8
Add model and components
francisco-dlp f63d6be
Automatic style corrections courtesy of autopep8
francisco-dlp 8c65b83
Connect all ipywidgets, some things still broken
francisco-dlp c4d7f30
Automatic style corrections courtesy of autopep8
francisco-dlp d417b85
Fix positional arg in wrapped function
francisco-dlp f66e9f2
Fix model widgets
francisco-dlp e5c49e8
Automatic style corrections courtesy of autopep8
francisco-dlp bb15e9a
Bidirectional component active
francisco-dlp e41f3dd
Fix fit component
francisco-dlp b077597
Fix setting wrong qt version in traitsui
francisco-dlp 71c52f6
Add gui_traitsui module (mainly empty still)
francisco-dlp a4c75f0
Move traitsui functionality to gui_traitsui (WIP)
francisco-dlp 780ecb2
Automatic style corrections courtesy of autopep8
francisco-dlp b6c8bbc
Move traits set micro par to the signal files.
francisco-dlp e38dd18
Automatic style corrections courtesy of autopep8
francisco-dlp ee7d694
Enable traitsui preferences
francisco-dlp 0ec9fcc
Add navigation sliders
francisco-dlp faeb98b
Automatic style corrections courtesy of autopep8
francisco-dlp 09f0de1
Fix add_display not removing display from kwargs
francisco-dlp e07a6f2
Fix wrong import path
francisco-dlp 7fd2b06
Set step of ipywidgets nav slider value
francisco-dlp d0936db
Add AxesManager traitsui gui
francisco-dlp bfb1917
Automatic style corrections courtesy of autopep8
francisco-dlp 2b1a974
Add Model1D.fit_component traitsui gui
francisco-dlp f6114ef
Automatic style corrections courtesy of autopep8
francisco-dlp eb336f5
Make traitsui optional
francisco-dlp ba46508
Enable all tools traitsui elements
francisco-dlp 411de16
Automatic style corrections courtesy of autopep8
francisco-dlp a975824
Fix typo
francisco-dlp a4c17f4
Register traitsui and ipywidgets only if traitsui/ipywidgets installed
francisco-dlp aef40d7
Automatic style corrections courtesy of autopep8
francisco-dlp b5ab2db
Add set_microscope_parameters traitsui gui
francisco-dlp f04befd
Automatic style corrections courtesy of autopep8
francisco-dlp 822fa7f
Enable messages for traitsui
francisco-dlp 68a34f4
Automatic style corrections courtesy of autopep8
francisco-dlp 4283014
Move egerton_quantification to tools
francisco-dlp 48b0d60
Automatic style corrections courtesy of autopep8
francisco-dlp 42c2bc0
Move what was left of hyperspy.gui to hyperspy.signal_tools
francisco-dlp 6e4c3ba
Add progress bar to ipywidget spikes_removal_tool
francisco-dlp 5845a4d
Add message traitsui to spikes_removal_tool
francisco-dlp 470e9d6
Automatic style corrections courtesy of autopep8
francisco-dlp a49b539
Fix label length issue
francisco-dlp ac14440
Add option to disable continous update in nav sliders
francisco-dlp 851e84d
Use gui decorator where possible and add missing butteworth gui
francisco-dlp a793785
Automatic style corrections courtesy of autopep8
francisco-dlp 3106463
Add option to disable GUIs in preferences
francisco-dlp 7ff0f36
Add toolkit and display parameters
francisco-dlp 2c4d10d
Automatic style corrections courtesy of autopep8
francisco-dlp 238ee12
signal_range parameter takes SpanROI
francisco-dlp 7f5ba2e
Automatic style corrections courtesy of autopep8
francisco-dlp 23f4b0d
Fix toolkit selection
francisco-dlp 8251534
Add ipywidgets roi ui
francisco-dlp 2420bca
Automatic style corrections courtesy of autopep8
francisco-dlp 49c2dc2
Add apply method to butterworth filter
francisco-dlp 47e48db
Automatic style corrections courtesy of autopep8
francisco-dlp fd80998
Add apply and cancel buttoms to smoothers
francisco-dlp 3a036bc
Automatic style corrections courtesy of autopep8
francisco-dlp 85290be
Add apply method to lowess
francisco-dlp b03c7e6
Automatic style corrections courtesy of autopep8
francisco-dlp 11179d0
Close remove background widget on apply
francisco-dlp f463db1
Automatic style corrections courtesy of autopep8
francisco-dlp 2da61b6
Add missing import
francisco-dlp a875894
Fix typo
francisco-dlp 109009c
Conditional color attribute
francisco-dlp b266178
Automatic style corrections courtesy of autopep8
francisco-dlp f536636
Move message to warning
francisco-dlp 49f77d0
Automatic style corrections courtesy of autopep8
francisco-dlp 0c29cde
Improve warning message
francisco-dlp 7351366
More useful messages for gui is not available.
francisco-dlp 771b265
Fix len > 1 parameter value gui
francisco-dlp b853025
Put multivalue parameters inside accordion
francisco-dlp a7a320e
Add update button to multivalue parameter widget
francisco-dlp 26fbdb0
Automatic style corrections courtesy of autopep8
francisco-dlp 0f7e446
Fix missing import
francisco-dlp 0bb701d
Change behaviour of auto slider bounds
francisco-dlp 8c7507e
Add axis ipy gui
francisco-dlp bc17182
Automatic style corrections courtesy of autopep8
francisco-dlp 514d914
Add dataaxis traitsui gui and improve axis layout
francisco-dlp e1ea66f
Deprecate AxesManager.show
francisco-dlp 7d3092d
Deprecate integrate_in_range
francisco-dlp 2f1dae1
Automatic style corrections courtesy of autopep8
francisco-dlp cfa2cf9
More helpful error message when missing beam energy for EDS model
francisco-dlp f000628
Don't register traitsui widgets when toolkit is null
francisco-dlp 7da9c9e
Try to set the qt5 backend to be ready for when traitsui supports it
francisco-dlp 395d667
Automatic style corrections courtesy of autopep8
francisco-dlp 3dd95bd
Add method
francisco-dlp d486e35
Automatic style corrections courtesy of autopep8
francisco-dlp 0e161b5
Add string_to_html function to convert "\n" to "<br/>" in ipywidgets.…
ericpre a02096c
link ipywidgets value step to axis scale
francisco-dlp a2df9ba
Don't display index and value for signal axes in ipywidgets
francisco-dlp 917a80a
conversion more explicit.
ericpre 016e813
Raise value error when requestion non registered toolkit
francisco-dlp 2fbd53b
Automatic style corrections courtesy of autopep8
francisco-dlp be04648
Add gui folders to setup.py
francisco-dlp 06d38f9
Catch error when requestion plot with sliders.
francisco-dlp 62715fe
Better error message
francisco-dlp 7cb0269
_ -> space
francisco-dlp 764673f
Fix disabling traitsui in preferences
francisco-dlp 66d69de
Fix setting nbagg backend (thanks @thomasaarholt)
francisco-dlp ca5bf64
Merge pull request #35 from ericpre/improve_formatting_help_spikes_re…
francisco-dlp 57250b3
Make set_microscope_parameters behave as described in docstring
francisco-dlp baea513
Automatic style corrections courtesy of autopep8
francisco-dlp 92130df
Add ipywidgets set_microscope_parameters UI
francisco-dlp 053f668
Automatic style corrections courtesy of autopep8
francisco-dlp fc26a2b
Fix updating traitlets from traits when back to Undefined
francisco-dlp c8d60e6
Merge branch 'ipywidgets' of https://github.com/francisco-dlp/hypersp…
francisco-dlp 0e70e5b
Add display and toolkit kwargs to set_microscope_parameters
francisco-dlp 54996fa
Automatic style corrections courtesy of autopep8
francisco-dlp c3537f8
Fix TypeError in SpikesRemoval (thanks @thomasaarholt)
francisco-dlp 69c0ed7
Automatic style corrections courtesy of autopep8
francisco-dlp ffa8fd7
Don't use floatslider for nav sliders and add units (thanks @thomasaa…
francisco-dlp f7390e4
Fix ipywidgets preferences gui
francisco-dlp e095fed
Automatic style corrections courtesy of autopep8
francisco-dlp 2447c91
Add save button to traitsui preferences and don't save on close
francisco-dlp c2330b6
Update coveragerc
francisco-dlp fd65242
Add axes ipywidgets tests
francisco-dlp 6df1674
Automatic style corrections courtesy of autopep8
francisco-dlp 28f66a9
Automatic style corrections courtesy of autopep8
francisco-dlp 6d8fa8f
Add ipywidgets set micro par test
francisco-dlp 9d38911
Automatic style corrections courtesy of autopep8
francisco-dlp 9ad8d10
Fix display
francisco-dlp a01ea76
Fix EELSCLEdge ipywidget and add wdict to model widgets
francisco-dlp e925b9a
Automatic style corrections courtesy of autopep8
francisco-dlp 0c1c234
Add wdict to preferences
francisco-dlp 8873a6c
Automatic style corrections courtesy of autopep8
francisco-dlp 0ecec5a
Add wdict to roi ipywidgets
francisco-dlp 439f161
Automatic style corrections courtesy of autopep8
francisco-dlp cd7ce31
Disable traitsui line_color
francisco-dlp a5d3da8
Automatic style corrections courtesy of autopep8
francisco-dlp 56bc7eb
Add wdict to ipywidgets tools
francisco-dlp c868be1
Automatic style corrections courtesy of autopep8
francisco-dlp 0ad6a4b
Merge remote-tracking branch 'upstream/RELEASE_next_patch' into ipywi…
francisco-dlp c521f00
Merge remote-tracking branch 'upstream/RELEASE_next_minor' into ipywi…
francisco-dlp d3908bf
New directional_link
francisco-dlp 899f715
Automatic style corrections courtesy of autopep8
francisco-dlp 4c0ee02
Add parameter test
francisco-dlp 457d4b1
dlink bmin, bmax with widget
francisco-dlp 9a9e10b
Add component test
francisco-dlp 83043f8
Automatic style corrections courtesy of autopep8
francisco-dlp 58d0aeb
Add model test
francisco-dlp 7d46457
Automatic style corrections courtesy of autopep8
francisco-dlp 256cb68
Add multivalue par test
francisco-dlp 1372efa
Automatic style corrections courtesy of autopep8
francisco-dlp 35dff0d
Add EELSCLEdge ipywidgets test and fix bug
francisco-dlp 0de90b2
Automatic style corrections courtesy of autopep8
francisco-dlp 21faea2
Automatic style corrections courtesy of autopep8
francisco-dlp 9523fbd
Add fit_component test
francisco-dlp 6309cbe
Automatic style corrections courtesy of autopep8
francisco-dlp 9bb6e3d
Remove unnecessary com mock
francisco-dlp cff0a29
Fix calibrate and add tests
francisco-dlp 8bcd469
Automatic style corrections courtesy of autopep8
francisco-dlp e2db463
Remove obsolate test
francisco-dlp 2a936bb
Add smoothers ipywidget tests
francisco-dlp f6d9a0d
Automatic style corrections courtesy of autopep8
francisco-dlp 470371a
Don't set ETS toolkit when already set and improve msgs
francisco-dlp 69e740c
Remove duplicated debug msg
francisco-dlp c246dfd
Fix filter_butterworth
francisco-dlp 1e74620
Automatic style corrections courtesy of autopep8
francisco-dlp c591d2d
Add background test and fix bug in polynomial bg removal
francisco-dlp 9c37a8d
Automatic style corrections courtesy of autopep8
francisco-dlp 2c9462e
Merge remote-tracking branch 'upstream/RELEASE_next_minor' into ipywi…
francisco-dlp 67f5cbf
Automatic style corrections courtesy of autopep8
francisco-dlp 065b8da
Fix EDS/SEM tilt_stage mapping
francisco-dlp e686efc
Don't include tests in coverage
francisco-dlp a6fe119
Remove empty file
francisco-dlp 3fc8fc5
Update api docs
francisco-dlp 3a1efa3
Fix exclude tests in coverage
francisco-dlp b06aef0
Improve interactive plotting speed
francisco-dlp ac389d7
(Partially) fix nbagg backend sluggishness
francisco-dlp 0466113
Add statsmodels to setup.py
francisco-dlp 26fbce5
Fix exception when updating before drawing
francisco-dlp 2530598
Fix warning when plotting spikesremovaltool
francisco-dlp fead51b
Fix error when fixing spikes at the edges
francisco-dlp 90e96de
Add spikes removal test
francisco-dlp 7786e2a
Automatic style corrections courtesy of autopep8
francisco-dlp a422400
Add ipywidgets spikesremovaltool test
francisco-dlp 345bb59
Automatic style corrections courtesy of autopep8
francisco-dlp 0a2b459
Merge branch 'ipywidgets' of https://github.com/francisco-dlp/hypersp…
francisco-dlp b3915cd
Add ipywidgets roi tests
francisco-dlp 892aad4
Automatic style corrections courtesy of autopep8
francisco-dlp ed3e894
Add ipywidgets preferences test
francisco-dlp a8e1362
ROIs can be used for slicing
francisco-dlp 8594495
Automatic style corrections courtesy of autopep8
francisco-dlp af14d51
Add roi slicing test
francisco-dlp c7a67bb
Automatic style corrections courtesy of autopep8
francisco-dlp ef9b1a0
Rename AxesManager.navigation_sliders -> gui_navigation_slicers
francisco-dlp 32a4bd5
Automatic style corrections courtesy of autopep8
francisco-dlp 999f8dc
Rename adjust_constrast -> gui_adjust_contrast
francisco-dlp 62f453c
Restore the preferences values after test
francisco-dlp 92111bb
Add constrast editor ipywidget test
francisco-dlp 50bd2ec
Deprecate crop
francisco-dlp e783b7b
Remove no-longer-necessary preferences.General.interactive
francisco-dlp 40301fd
link and dlink no longer require traitlets and link takes tranforms arg.
francisco-dlp ad45cc1
Automatic style corrections courtesy of autopep8
francisco-dlp 0e435fe
Fix dlink unlink
francisco-dlp 02a7968
Add tests
francisco-dlp 820dc64
Move link_traits to hyperspy/link_traits
francisco-dlp d556c99
Remove link from api
francisco-dlp 0151461
Fix dlink.unlink and add mixed traits/traitlets tests
francisco-dlp 6824698
Automatic style corrections courtesy of autopep8
francisco-dlp 0b80c79
Merge branch 'RELEASE_next_minor' into ipywidgets
francisco-dlp b8f11a3
Automatic style corrections courtesy of autopep8
francisco-dlp 2c76bba
Add version to link_traits
francisco-dlp 6a02f47
Add __init__
francisco-dlp a2980ef
Rename link_* back to link and dlink
francisco-dlp 8460ccd
Automatic style corrections courtesy of autopep8
francisco-dlp 7f64009
Fix dlink missing d
francisco-dlp 18eb229
Split link_traits into a separate package
francisco-dlp 53e75a2
Split gui_ipywidgets into a separate package
francisco-dlp db8c6a1
Add api that does not import GUIs
francisco-dlp 804a248
Split gui_traitsui into a separate package
francisco-dlp 12baa76
Better import error messages
francisco-dlp 57a189e
Add test for signal_range_from_roi
francisco-dlp 49cf8fd
Automatic style corrections courtesy of autopep8
francisco-dlp 23e6fcf
Remove ipython from install_req, add gui-traitsui and test install op…
francisco-dlp b618fa2
Update anaconda install info
francisco-dlp e7b57a8
Update introduction regarding GUIs
francisco-dlp ac6f78c
Update getting_started and install
francisco-dlp 81a3a00
Update user guide
francisco-dlp 1dce89f
Add doc for using ROIs for indexing
francisco-dlp e0b6573
Add missing >>>
francisco-dlp ac5d49f
Fix error when gui not installed (thanks @thomasaarholt)
francisco-dlp 2982eae
Remove blank line at start of spikes rem help
francisco-dlp ad81ab2
Fix set_signal_range docstring
francisco-dlp c4a1b91
Add informative errors to calibrate
francisco-dlp c25fb2d
(re)Fix nbagg
francisco-dlp 9120a4b
Fix CirCleROI error
francisco-dlp 3a87faf
Improve no toolkit for feature error
francisco-dlp 00b590c
Improve docstring formatting
francisco-dlp 1d78b1f
Merge branch 'RELEASE_next_minor' into ipywidgets
francisco-dlp 2b72eca
Improve error message
francisco-dlp 1b3951c
Un-deprecate crop
francisco-dlp 6a91741
Merge branch 'RELEASE_next_minor' into ipywidgets
francisco-dlp a139398
Automatic style corrections courtesy of autopep8
francisco-dlp 0b05bab
Move enable_*_gui to new prefereces tab
francisco-dlp b16f2ea
Automatic style corrections courtesy of autopep8
francisco-dlp a07d0cd
Change version to 1.3 so that CI runs
francisco-dlp c8a96e7
Don't skip the tests in coverage as it is useful to know if they're a…
francisco-dlp 406d125
Add ROIs gui doc
francisco-dlp 695763f
Update preferences doc
francisco-dlp 6009738
Update api docs
francisco-dlp File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it fixing #1559? If so, does it mean that instead of using
%matplotlib qt
, we should recommend using%matplotlib qt4
, before importing hyperspy?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's not fixing #1559. This fixes using that qt5 backend albeit without the traitsui gui as it does not yet support qt5.
The ipywidgets give us a lot more flexibility when choosing the mpl backend as the ipywidgets are obviously backend independent. Therefore this PR should make hspy usable with e.g. tk or nbagg.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. Forgot my previous comment, it does not make sense...