Commit 47ec02a
authored
separate array logic and graphic logic in
* start separating iw plotting and array logic
* some more basics down
* comment
* collapse into just having a window function, no frame_function
* progress
* placeholder for computing histogram
* formatting
* remove spaghetti
* more progress
* basics working :D
* black
* most of the basics work in iw
* fix
* progress
* progress but still broken
* flippin display dims works
* camera scale must be positive for MIP rendering
* a very difficult to encounter iterator bug!
* patch iterator caveats
* mostly worksgit status
* add ArrayProtocol
* rename
* fixes
* set camera orthogonal to xy plane when going from 3d -> 2d
* naming, cleaning
* cleanup, correct way to push and pop dims
* quality of life improvements
* new histogram lut tool
* new hlut tool
* imagewidget rgb toggle works
* more progress
* support rgb(a) image volumes
* ImageGraphic cleanup
* cleanup, docs
* fix
* updates
* new per-data array properties work
* black formatting
* fixes and other things
* typing tweaks
* better iterator, fix bugs
* fixes
* show tooltips in right clck menu
* ignore nans and inf for histogram
* histogram of zeros
* docstrings
* fix imgui pixels
* iw indices event handlers only get a tuple of the indices
* bugfix
* fix cmap setter
* spatial_func better name
* bugfix
* hist specify quantile
* fix typos (#991)
* fix typos
* add rendercanvas to intersphinx_mapping
* nd-iw backup
* correct ImageGraphic w.r.t. ndw
* last fixes in ndiImageWidget (#868)1 parent 9efd69c commit 47ec02aCopy full SHA for 47ec02a
19 files changed
+2,089-374Lines changed: 2089 additions & 374 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- .github/workflows
- fastplotlib
- graphics
- features
- selectors
- layouts
- tools
- ui
- utils
- widgets/image_widget
Expand file treeCollapse file tree
Open diff view settings
Collapse file
.github/workflows/docs-deploy.yml
Copy file name to clipboardExpand all lines: .github/workflows/docs-deploy.yml+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | | - |
| 52 | + |
53 | 53 | |
54 | 54 | |
55 | 55 | |
|
Collapse file
fastplotlib/graphics/_base.py
Copy file name to clipboardExpand all lines: fastplotlib/graphics/_base.py+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
178 | 178 | |
179 | 179 | |
180 | 180 | |
| 181 | + |
181 | 182 | |
182 | 183 | |
183 | 184 | |
| ||
274 | 275 | |
275 | 276 | |
276 | 277 | |
| 278 | + |
| 279 | + |
| 280 | + |
| 281 | + |
| 282 | + |
277 | 283 | |
278 | 284 | |
279 | 285 | |
| ||
440 | 446 | |
441 | 447 | |
442 | 448 | |
| 449 | + |
| 450 | + |
| 451 | + |
443 | 452 | |
444 | 453 | |
445 | 454 | |
|
Collapse file
fastplotlib/graphics/features/_base.py
Copy file name to clipboardExpand all lines: fastplotlib/graphics/features/_base.py+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
318 | 318 | |
319 | 319 | |
320 | 320 | |
321 | | - |
| 321 | + |
322 | 322 | |
323 | 323 | |
324 | 324 | |
| ||
334 | 334 | |
335 | 335 | |
336 | 336 | |
337 | | - |
| 337 | + |
338 | 338 | |
339 | 339 | |
340 | 340 | |
|
Collapse file
fastplotlib/graphics/features/_selection_features.py
Copy file name to clipboardExpand all lines: fastplotlib/graphics/features/_selection_features.py+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
118 | 118 | |
119 | 119 | |
120 | 120 | |
121 | | - |
| 121 | + |
122 | 122 | |
123 | 123 | |
124 | 124 | |
| ||
182 | 182 | |
183 | 183 | |
184 | 184 | |
185 | | - |
| 185 | + |
| 186 | + |
| 187 | + |
186 | 188 | |
187 | 189 | |
188 | 190 | |
|
Collapse file
fastplotlib/graphics/image.py
Copy file name to clipboardExpand all lines: fastplotlib/graphics/image.py+10-5Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
162 | 162 | |
163 | 163 | |
164 | 164 | |
165 | | - |
| 165 | + |
166 | 166 | |
167 | 167 | |
168 | | - |
| 168 | + |
| 169 | + |
169 | 170 | |
170 | 171 | |
171 | 172 | |
| ||
174 | 175 | |
175 | 176 | |
176 | 177 | |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
177 | 184 | |
178 | 185 | |
179 | 186 | |
| ||
275 | 282 | |
276 | 283 | |
277 | 284 | |
278 | | - |
279 | | - |
280 | 285 | |
281 | 286 | |
282 | 287 | |
| ||
312 | 317 | |
313 | 318 | |
314 | 319 | |
315 | | - |
| 320 | + |
316 | 321 | |
317 | 322 | |
318 | 323 | |
|
Collapse file
fastplotlib/graphics/image_volume.py
Copy file name to clipboardExpand all lines: fastplotlib/graphics/image_volume.py+10-4Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
204 | 204 | |
205 | 205 | |
206 | 206 | |
| 207 | + |
207 | 208 | |
208 | | - |
209 | 209 | |
210 | 210 | |
211 | | - |
212 | | - |
213 | 211 | |
214 | 212 | |
215 | 213 | |
216 | 214 | |
217 | 215 | |
218 | 216 | |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | + |
219 | 225 | |
220 | 226 | |
221 | 227 | |
| ||
301 | 307 | |
302 | 308 | |
303 | 309 | |
304 | | - |
| 310 | + |
305 | 311 | |
306 | 312 | |
307 | 313 | |
|
Collapse file
fastplotlib/graphics/selectors/_linear_region.py
Copy file name to clipboardExpand all lines: fastplotlib/graphics/selectors/_linear_region.py+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
472 | 472 | |
473 | 473 | |
474 | 474 | |
475 | | - |
| 475 | + |
476 | 476 | |
477 | 477 | |
478 | 478 | |
479 | 479 | |
480 | | - |
| 480 | + |
Collapse file
fastplotlib/graphics/utils.py
Copy file name to clipboardExpand all lines: fastplotlib/graphics/utils.py+12-3Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | | - |
| 8 | + |
8 | 9 | |
9 | 10 | |
10 | 11 | |
| 12 | + |
| 13 | + |
11 | 14 | |
12 | 15 | |
13 | 16 | |
| ||
30 | 33 | |
31 | 34 | |
32 | 35 | |
33 | | - |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
34 | 40 | |
35 | 41 | |
36 | 42 | |
37 | | - |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
Collapse file
fastplotlib/layouts/_figure.py
Copy file name to clipboardExpand all lines: fastplotlib/layouts/_figure.py+18-16Lines changed: 18 additions & 16 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
539 | 539 | |
540 | 540 | |
541 | 541 | |
542 | | - |
| 542 | + |
543 | 543 | |
544 | 544 | |
545 | 545 | |
| ||
606 | 606 | |
607 | 607 | |
608 | 608 | |
609 | | - |
| 609 | + |
610 | 610 | |
611 | 611 | |
612 | 612 | |
613 | 613 | |
614 | 614 | |
615 | 615 | |
616 | | - |
| 616 | + |
617 | 617 | |
618 | 618 | |
619 | 619 | |
| ||
622 | 622 | |
623 | 623 | |
624 | 624 | |
625 | | - |
| 625 | + |
626 | 626 | |
627 | 627 | |
628 | 628 | |
| ||
646 | 646 | |
647 | 647 | |
648 | 648 | |
649 | | - |
| 649 | + |
650 | 650 | |
651 | 651 | |
652 | 652 | |
653 | 653 | |
654 | 654 | |
655 | 655 | |
656 | | - |
657 | | - |
| 656 | + |
| 657 | + |
658 | 658 | |
659 | 659 | |
660 | 660 | |
| ||
770 | 770 | |
771 | 771 | |
772 | 772 | |
773 | | - |
| 773 | + |
774 | 774 | |
775 | 775 | |
776 | 776 | |
| ||
929 | 929 | |
930 | 930 | |
931 | 931 | |
| 932 | + |
| 933 | + |
| 934 | + |
932 | 935 | |
933 | 936 | |
934 | 937 | |
935 | | - |
| 938 | + |
| 939 | + |
| 940 | + |
| 941 | + |
936 | 942 | |
937 | 943 | |
938 | | - |
939 | | - |
940 | | - |
941 | | - |
942 | | - |
943 | | - |
| 944 | + |
| 945 | + |
944 | 946 | |
945 | 947 | |
946 | 948 | |
| ||
955 | 957 | |
956 | 958 | |
957 | 959 | |
958 | | - |
| 960 | + |
959 | 961 | |
960 | 962 | |
Collapse file
fastplotlib/layouts/_plot_area.py
Copy file name to clipboardExpand all lines: fastplotlib/layouts/_plot_area.py+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
233 | 233 | |
234 | 234 | |
235 | 235 | |
236 | | - |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
237 | 240 | |
238 | 241 | |
239 | 242 | |
|
0 commit comments