Commit Graph

97 Commits

Author SHA1 Message Date
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
db6819ccc6 fix z-interpolation 2020-10-27 18:19:32 -07:00
a900946890 fix crash in shifted_exyz 2019-12-13 01:22:00 -08:00
43936d1415 Rework interpolation for extruded polygon to fix lots of issues 2019-12-13 01:20:34 -08:00
d4b0177386 more member docs 2019-11-27 19:32:53 -08:00
00dd0718fa fix center calculation 2019-11-27 19:32:25 -08:00
aab3754d1a move member docs to __init__ 2019-11-27 19:31:48 -08:00
cf52380702 bump version to v0.4 2019-09-30 23:41:25 -07:00
f62be35966 use VERSION file to avoid importing gridlock before its installed 2019-09-30 23:40:23 -07:00
e97bd482a9 initialize to 1.0 instead of (1.0,)*3
matches docs, and works better in cases where there are more/fewer grids
2019-09-30 23:37:25 -07:00