Discretize

Latest version: v0.11.1

Safety actively analyzes 682487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 9

0.4.5

- from pr 156
- commits from prisae
- review from rowanc1, lheagy

Make matplotlib a soft dependency; reasoning:
- it is "only" used for the plotting of meshes, which is sort of a relatively small (yet important) part of the whole discretize scope.
- it would help to install discretize on minimal conda-environments for running models on a server, without having to install matplotlib.

This is achieved by
- using a decorator on functions where matplotlib is required
- removing matplotlib from the setup.py

0.4.4

Commits: dccowan ; prisae ; banesullivan ; lheagy
Reviewers: lheagy ; thast

Merged from PR 159 160 163 166

- Add `(x,y,z)lim` to limit the axis. It works with the interactive tools and the home-button will reset to the provided limits. Resolves 165.

![Peek 2019-05-21 08-25](https://user-images.githubusercontent.com/8020943/58073128-19d7c400-7ba2-11e9-8b97-e603410128a0.gif)

- Fix Broken Example: plot_3d_slicer

- Fix `refine_mesh_xyz` for Tree mesh class

- Change model array shape check for VTK mixin: It must be an array of size `nC`

0.4.3

- from pr: 152
- commits from: banesullivan
- review from: lheagy

Changes

- Update `discretize` to work with PyVista (previously `vtki`)
- Enable the PyVista 3D visualization examples to be run when making the docs on CI services
- Switch the documentation hosting service to GitHub Pages from Read The Docs
- New `InterfaceOMF` mixin for converting `discretize` meshes to Open Mining Format (OMF) objects
- `pep8` refactoring of `mixins`
- Drop Windows testing on Python 3.5

0.4.2

- from pr: 143
- commits from: prisae, banesullivan
- review from: lheagy

This PR adds html and non-html representations which should be more generally applicable, for small and big `TensorMesh`'s.

Based on work by banesullivan on `vtki` and prisae on the `printversion`-tool.

![Selection_001](https://user-images.githubusercontent.com/8020943/56793032-50bcf300-680b-11e9-90de-46347d54f6e6.png)

0.4.1

- from prs: 141, 146
- commits from: fourndo, jcapriot, lheagy, prisae
- review from: prisae, lheagy, jcapriot

Tree Mesh updates
- Add functionality for TreeMesh creation
- General bug fix on refine function

Docs
- typo fix in the installation from source

0.4.0

- From PR 134
- commits from: lheagy
- review from: dccowan

Improvements
Organization of base classes
- move base classes to a `base` directory (closes 128)

Docs
- use napoleon + numpy-style docs to compile the docs (closes 126)
- convert existing docstrings to numpy-styled docs
- separate the API documentation from user documentation (closes 127)

![image](https://user-images.githubusercontent.com/6361812/51945606-0971c280-23d4-11e9-9ca3-3268dd8ffe60.png)

Testing
- travis cleanup (previously it was confusing which version of python was being used. We used the python 3.6 image on travis but then downloaded the latest conda - which is python 3.7): now each test suite is clearly labeled
- use pytest for testing instead of nose

Follow ups
- content to be developed in the "User Guide" (see 149)
- create a contributor guide (separate pr) that includes info on how we document classes, methods, functions and class attributes (e.g. https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard) (see 150)
- pr on SimPEG to ensure it is up-to-date with the changes in the base-class don't cause upstream problems (see simpeg/simpeg776)

Thanks:
- leouieda : for your beautiful repo-setup and docs to follow :)

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.