Results 264 comments of Alex Kaszynski

To enable interaction with the `BackgroundPlotter` while running other operations, you should integrate it within a Qt application event loop. Here's how you can modify your code: ```python import sys...

Hypothesis seems to give us grief sometimes on `Mac OS Unit Testing (3.10)` ``` =========================== short test summary info ============================ FAILED tests/test_datasetattributes.py::test_preserve_field_data_after_extract_cells - hypothesis.errors.Flaky: Hypothesis test_preserve_field_data_after_extract_cells(hexbeam=UnstructuredGrid (0x138207520) N Cells: 40...

> probably best to do in a separate PR? Yes. We'll need a new wheel. I'm also tempted to run (or try to) the docs in Python 3.11 since it...

Ended up going with [magpylib](https://magpylib.readthedocs.io/) for now. ![image](https://user-images.githubusercontent.com/11981631/213631915-3b4dcc31-037f-42cc-9098-47832b3af663.png) There were issues with grid alignment with `emg3d`. I can return to it later in a follow-up PR.

> Hm. Interesting. `emg3d` uses `discretize` for the meshing. So that would mean that everything of SimPEG has also this alignment problem...? But what do you mean with alignment issues?...

@prisae, I think my issue is I'm not implementing it correctly. I'll fix it to: ```py grid.write_vtk( 'efield', models={ 'efield_fx': abs(grid.average_edge_x_to_cell * efield.fx.ravel('F')), 'efield_fy': abs(grid.average_edge_y_to_cell * efield.fz.ravel('F')), 'efield_fz': abs(grid.average_edge_z_to_cell *...

This will have to miss this release, and I'd like to make sure we get `emg3d` in as well here.

Recommending splitting this up into two PRs to get this merged. This PR will incorporate the ``magpylib`` example from [Coil Field Lines](https://magpylib.readthedocs.io/en/latest/examples/examples_30_coil_field_lines.html). @prisae, if you can get me a vtk...

@tkoyama010, would appreciate another review when you get a chance.

> How could I extract all points of the mesh? Currently with mesh.points it just gives me 3 lowest value and 3 highest value points (6 in total). The `points`...