Eric Prestat

Results 54 issues of Eric Prestat

## PR Summary Simplify passing `bbox` instance to legend `bbox_to_anchor` argument: ```python import matplotlib.pyplot as plt import numpy as np data_left = np.arange(100) data_right = np.random.random(100) fig, ax = plt.subplots()...

from https://github.com/hyperspy/hyperspy-extensions-list/pull/22 ```python _________________ TestLearningSegment.test_learning_ncc_matrix _________________ self = learning_segment = def test_learning_ncc_matrix(self, learning_segment): ncc = learning_segment.get_ncc_matrix() ans = np.array( [ [ [1.0, -0.26413543, -0.50636968, 0.61237256, 0.0], [-0.26413543, 1.0, -0.40125028, -0.43133[109](https://github.com/hyperspy/hyperspy-extensions-list/runs/6272585445?check_suite_focus=true#step:15:109),...

tests

This test fails randomly; maybe it needs a seed? ```python _____________________ TestGet4DMarkerList.test_bool_array ______________________ self = def test_bool_array(self): peak_array = np.empty((2, 3), dtype=object) bool_array = np.empty((2, 3), dtype=object) for ix, iy...

tests

**Checklist** - [ ] Updated CHANGELOG.md - [ ] (if finished) Requested a review (from pc494 if you are unsure who is most suitable) **What does this PR do? Please...

status: stalled

### Description of the change Improve setting x limits when plotting EDS signal, which can happen in cases, as the one described in #2899. Since this is not the first...

type: enhancement
status: waiting for author
release: next patch

One common inconvenience/confusing that beginners experience with hyperspy is issue like https://github.com/hyperspy/hyperspy/issues/2959, because `hs.load` can return a list of signals or a signal... this is very simple to explain but...

type: API change

From @harripj in #2781: Just a follow up on this. On my Windows machine I seem to be experiencing the same behaviour as [before](https://github.com/din14970/TVIPSconverter/issues/15#issuecomment-915967600): If I load one of our...

from https://gitter.im/hyperspy/hyperspy?at=5f91eed3631a250ab286ce2f > Weixin Song @winston-song Oct 22 21:42 >> I have a pretty simple question regarding the EELS quantification. I had a good look at the documentation but could...

affects: documentation
type: bug-fix
affects: demos

For https://github.com/hyperspy/hyperspy-extensions-list/pull/3, I think when we add an package to the extension list, it would be useful to check if this package introduce signal specifications conflicts. I will add tests...

type: enhancement
status: WIP
release: next minor

Add a gallery of examples, using `sphinx-galley`: https://sphinx-gallery.github.io/stable/index.html. ### Progress of the PR - [x] Setup the sphinx-gallery, - [x] tidy up old (unused?) sphinx extension, - [x] recycle the...

type: enhancement
affects: documentation
status: WIP
release: next minor