Commit Graph

106 Commits

Author SHA1 Message Date
c598978543 bump version to v1.2 2024-07-31 22:51:34 -07:00
c7ad0f0e37 comment out unused pytest import 2024-07-31 22:51:19 -07:00
4218f529ea Copy pixel edge coordinates 2024-07-31 22:51:07 -07:00
c95341c9b9 be clearer about floats 2024-07-31 22:50:34 -07:00
045b0c0228 enable numpy 2.0 2024-07-29 02:12:37 -07:00
e1e6134ec0 use asarray (since copy=False meaning changes in numpy 2.0) 2024-07-29 02:11:04 -07:00
8e7e0edb1f add ruff and mypy configs 2024-07-29 01:57:57 -07:00
e5fdc3ce23 drop unused imports 2024-07-29 01:57:48 -07:00
646911c4b5 type annotation improvements 2024-07-29 01:57:39 -07:00
e256f56f2b fix handling of 3d polys 2024-07-29 01:47:12 -07:00
c32d94ed85 fix typos in arg names in example 2024-07-29 01:38:42 -07:00
8c33a39c02 refactor to avoid class-scoped imports 2024-07-29 01:37:58 -07:00
f84a75f35a comment unused import 2024-07-29 00:50:08 -07:00
5a20339eab del axes3d to clarify it's unused on purpose 2024-07-29 00:49:59 -07:00
e29c0901bd use strict zip 2024-07-29 00:46:21 -07:00
a15e4bc05e repeat re-exported names 2024-07-29 00:44:26 -07:00
9ab97e763c bump min python version to 3.11 due to Self type 2024-07-18 00:20:18 -07:00
d44e02e2f7 return figure and axes after plotting 2024-07-18 00:17:58 -07:00
3e4e6eead3 flake8 fixup 2024-07-18 00:17:45 -07:00
a94c2cae67 type hint modernization 2024-07-18 00:17:20 -07:00
73d07bbfe0 disaambiguate some variables for typing purposes 2022-10-18 19:44:47 -07:00
ec5c77e018 typing and formatting updates 2022-10-18 19:44:30 -07:00
7d3b2272bc bump version to v1.1 2022-08-29 13:11:12 -07:00
e1303b8a5c move to hatch-based builds 2022-08-29 13:07:46 -07:00
9276f8f86b bump version to 1.0
Breaking changes:
-`eps` argument renamed to `foreground`
- `Grid` no longer contains actual data (iem the data modified by draw_*
functions), only the metadata (edge positions, periodicity, etc.). Data
is now a user-managed ndarray.
2021-10-31 19:21:24 -07:00
2fd837500a Add some tests 2021-10-31 19:03:05 -07:00
85d9ff7ace use dtype when allocating 2021-10-31 19:02:49 -07:00
f04aec9a1b rename eps -> foreground 2021-10-31 19:00:32 -07:00
078bec08d3 Make epsilon float32 by default 2021-10-24 19:53:15 -07:00
fcd02d3dcf doc updates 2021-10-24 19:53:06 -07:00
dac0813cc9 add example 2021-10-24 19:07:23 -07:00
22f218c054 Grid.save() should return self 2021-10-24 19:07:23 -07:00
b9f6507498 doc and type hint fixes 2021-10-24 19:07:23 -07:00
7340d41f10 Use f-strings where possible 2021-10-24 19:07:23 -07:00
ff5ffb2f40 Remove is_scalar() in favor of numpy.size(...)==1 2021-10-24 19:07:23 -07:00
551da07f3e Move .grids data into separate cell_data array. Also remove Direction enum 2021-10-24 19:07:20 -07:00
fbf173072a avoid importing a bunch of numpy functions 2021-10-24 19:07:10 -07:00
d054fc5a94 update email 2021-07-11 17:22:58 -07:00
6acb7a2166 gitignore mypy_cache 2021-07-11 17:22:46 -07:00
6f9334bc94 strip whitespace from version string 2021-07-11 17:22:36 -07:00
8cca6f3236 add py.typed to package_data 2021-01-09 00:58:51 -08:00
192c929653 remove old VERSION file 2021-01-09 00:58:27 -08:00
145af8bef8 add py.typed 2021-01-09 00:58:17 -08:00
1bfae4d7f6 bump version to v0.5 2021-01-08 23:16:54 -08:00
bdf05d96be fix numpy warning about indexing with a list 2021-01-08 23:14:44 -08:00
f338d06be6 simplify GridError definition 2021-01-08 23:03:22 -08:00
1067c3b780 Fix loop variables not getting saved in closures 2021-01-08 23:03:09 -08:00
f486209950 general cleanup and typing fixes 2021-01-08 22:58:36 -08:00
db9e7831b9 move to simpler docstring format and improve type annotations 2021-01-08 22:43:22 -08:00
4e0a5ede21 Use VERSION.py instead of plain VERSION
reduce dependence on package_data
2020-11-03 01:35:38 -08:00