Commit Graph

72 Commits

Author SHA1 Message Date
7312cdc133 split sources 2021-06-05 11:51:43 +02:00
2d60f6ed50 start refactoring sources 2021-06-05 11:45:52 +02:00
36d1bcefd9 start refactoring sources 2021-06-05 11:45:36 +02:00
b15f527eed added caching of Sources; added Cacher.remove_source(), run on remove_actor() 2021-06-05 11:42:29 +02:00
0e25adaa18 added CacheView (single cache per source, one view on that cache per plot) 2021-06-04 16:00:13 +02:00
dcaef9506e avoid adding the append callback twice if the same source is added twice 2021-06-04 14:48:28 +02:00
61b068037b removed cache_size kwarg from Actor; removed useless self 2021-06-04 00:06:28 +02:00
85e7234ee0 removed unused imports 2021-06-04 00:05:34 +02:00
b4a69f5f95 mark times arg as unused 2021-06-04 00:05:01 +02:00
d1ac8cfa41 forward bins kwarg correctly 2021-06-04 00:04:28 +02:00
928fd96117 added kabuki/__init__.py 2021-06-03 18:51:18 +02:00
860f6aafe7 added plots subfolder containing all Plot?D classes 2021-06-03 18:43:03 +02:00
0b3201b582 added start-up script 2021-06-03 18:37:34 +02:00
afb3c04b78 re-organized folder structure 2021-06-03 18:33:44 +02:00
1d1984bb7a simplified logic 2021-06-03 10:28:50 +02:00
455d49ed40 allowed iter(cache), renamed .xy -> .data, commented .latest 2021-06-03 10:27:20 +02:00
123b7987fd unified Plot*.set(), always accept times and values 2021-06-03 10:16:34 +02:00
bd9150fb1a avoid running close handler multiple times due to too fast clicks 2021-06-03 10:15:29 +02:00
b63e4efda6 added a comment 2021-06-03 10:14:56 +02:00
18fcaf6c41 added color bar 2021-06-02 23:40:16 +02:00
b4a575919c added errorbars/band and average 2021-06-02 23:39:51 +02:00
05633f730d set name correctly 2021-06-02 20:50:37 +02:00
84a326a7bd do not replace plot with frame 2021-06-02 20:29:02 +02:00
0bf8c1dc30 removed container from actor 2021-06-02 19:04:41 +02:00
cb2a17b100 new lines 2021-06-02 18:39:58 +02:00
445d82caa6 use empty-container deletion of Container class 2021-06-02 16:51:29 +02:00
968dc07c1b made arguments of on_click_close() clearer 2021-06-02 16:45:38 +02:00
c8ef81c559 Plots can be named 2021-06-02 16:44:42 +02:00
67dfc77e46 first try on wrapper classes (Object, Container (Column, Row)) that simplify the append/remove logic 2021-06-02 15:02:14 +02:00
487cc374ba added "set cache size" to cfg dialog; disable close button when in cfg dialog 2021-05-31 21:46:54 +02:00
00d31cb084 better name 2021-05-31 21:44:51 +02:00
c8a7a6a251 allowed changing the (max)length of a Cache 2021-05-31 18:25:18 +02:00
449ba05819 toggle color of cfg button depending on state 2021-05-31 18:12:50 +02:00
bb1f23cf0d added prototype for config dialog 2021-05-31 15:27:21 +02:00
2c6f76baec also set the height of the combined figure 2021-05-31 14:33:41 +02:00
c6f262f066 added a little vertical space below "Add PV" input 2021-05-31 14:32:55 +02:00
8957f73f28 also remove container if emptied; corrected order in removal; better print outs 2021-05-30 20:54:08 +02:00
38d0f1fbe6 simplified adding actor logic; do not insert empty rows 2021-05-30 18:54:42 +02:00
351fe108b1 added repr 2021-05-30 18:45:51 +02:00
ec871bbc65 better names 2021-05-30 18:39:50 +02:00
66bf36b7bd removed one level of containers 2021-05-30 18:16:13 +02:00
24ff59981e split loop 2021-05-30 14:59:48 +02:00
afb79e4484 Actor constructor takes container as argument 2021-05-29 19:34:10 +02:00
aba92fd20a merge individual periodic callbacks (one for each plot) to one periodic callback 2021-05-29 19:10:32 +02:00
bd9d760812 merge individual periodic callbacks (one for each plot) to one periodic callback 2021-05-29 18:53:24 +02:00
70b64ab622 allow adding plots in rows 2021-05-29 17:04:57 +02:00
6c55e589e0 moved frame widgets to separate class 2021-05-28 23:30:47 +02:00
4cb272d268 separate root layout and plot-container layout 2021-05-28 23:30:47 +02:00
e8789e312f store update callback; also remove update callback when removing plot 2021-05-28 23:30:47 +02:00
f4e0a899a2 set the figure width to the summed widths of the plots 2021-05-28 23:30:47 +02:00