Commit Graph

52 Commits

Author SHA1 Message Date
Alexandre de57d009db Force readonly mode 2025-03-08 11:45:38 +01:00
Alexandre c5f39f6670 Fix daily resample 2025-03-08 11:45:38 +01:00
Alexandre 93a2157262 Fix daily resample 2025-03-08 11:45:38 +01:00
Alexandre 1c592f32a5 Fix error "Calling int on a single element Series is deprecated" 2025-03-08 11:45:38 +01:00
Alexandre 3c91627e96 Lint 2025-03-08 11:45:38 +01:00
Alexandre 14cdc96b20 Fix for plotly 6.0.0 2025-03-08 11:45:38 +01:00
Alexandre ebeaf51c3b Ensure all bins 2025-03-08 11:23:29 +01:00
Alexandre b4fb5dd299 Fix last bin of the day 2025-03-08 11:23:29 +01:00
frederik 61347ecf04 fix: remove apostrophe from common name like php code does 2024-09-14 10:36:31 +02:00
frederik c0de584821 cleanup: remove commented-out and dead code 2024-04-24 09:56:10 +02:00
frederik ae7d78676a plotly: exit gracefully when there is no data yet 2024-03-27 14:33:50 +01:00
cdkl a5e88f9c77 Read lat/lon from config 2024-03-14 10:42:40 +01:00
cdkl 37b023b84d Fix sunrise/sunset scatter plots (#16)
* Fix sunrise/sunset scatters

Sunrise/sunset scatter plots are misplaced for
* Date ranges that are a subset of the entire DB date range
* Species whose first/last detections are inside the bounds of the current date range.

This fixes those problems.

* Clean up lint errors

* Fix the lint errors created by fixing lint errors

* Restore old lat/lon determination

We'll enhance this separately
2024-03-13 00:06:16 +01:00
frederik b99367d298 fix deprecation warnings 2024-03-01 12:41:20 +01:00
frederik eb0e54f58d fix: new detections are not shown: disable caching get_data() 2024-02-13 18:06:57 +01:00
frederik 66a3af6f9f plotly_streamlit.py: add easy profiling 2024-02-13 10:57:35 +01:00
frederik 627e150e97 flake8 fixes 2024-02-13 10:57:35 +01:00
ehpersonal38 5af7dd9ced Merge branch 'main' into feature/add-confidencepct-variable-to-apprise-notification 2023-05-30 12:30:14 -04:00
ehpersonal38 f25d43d133 make species stats up to 70% faster 2023-05-19 19:48:50 -04:00
ehpersonal38 df1a591f2d Merge pull request #760 from chickadeebird/main
Update plotly_streamlit.py
2023-04-17 22:05:11 -04:00
ehpersonal38 6a16764897 Revert "Revert "Merge pull request #764 from lamkin/drl/st_cache_deprecated""
This reverts commit 515201b7bd.
2023-03-02 15:00:01 -05:00
ehpersonal38 515201b7bd Revert "Merge pull request #764 from lamkin/drl/st_cache_deprecated"
This reverts commit d60f59e6fa, reversing
changes made to 502137bf78.
2023-03-02 14:54:55 -05:00
David Lamkin 6765ffbe8d streamlit st.cache deprecated - use st.cache_data st.cache_resource
Since streamlit 1.18.0 (Feb 14th 2023) st.cache has been deprecated:
the functionality exists in two new forms st.cache_data and
st.cache_resource. Use of st.cache produces a deprecation warning
2023-02-26 16:43:09 +00:00
chickadeebird 46dd8a464c Update plotly_streamlit.py 2023-02-24 13:01:52 -05:00
Bdoner 291ab9263e satisfy flake8 linter (this is ridiculus) 2023-02-22 10:57:40 +01:00
mcguirepr89 5a971cea41 linted plotly 2022-06-24 09:15:59 -04:00
mcguirepr89 d11ccb8a32 typo 2022-06-02 08:07:19 -04:00
Patrick McGuire 027377b7fb Update plotly_streamlit.py 2022-06-01 13:46:27 -04:00
CaiusX 6ef05c2bc3 Updated Species stats with start of Species verification 2022-05-31 17:39:25 +02:00
mcguirepr89 8a1e9a489f better less sloppy linting :r)_ 2022-05-28 10:02:30 -04:00
mcguirepr89 795044f3ab fixing the breakage I just introduced :) 2022-05-28 09:59:19 -04:00
mcguirepr89 3fa0d13ff9 another linting! 2022-05-28 09:54:50 -04:00
mcguirepr89 8408e7dfdf linted 2022-05-28 09:52:39 -04:00
mcguirepr89 ecd367b22c added <br> in left chart title 2022-05-27 09:14:58 -04:00
CaiusX 369044840b Updates and requests fulfillments - for comments 2022-05-26 16:20:03 +02:00
CaiusX 8aadd77f2b Updated Species Stats with some cleanup and requests 2022-05-26 16:09:59 +02:00
Jake Herbst 2330bd773a Linting scripts/plotly.streamlit.py 2022-05-24 12:32:40 -04:00
CaiusX ed04568322 Further enhancements to Species Stats for user testing and feedback 2022-05-19 11:05:28 +02:00
CaiusX c859c2250b New and improved Species Stats 2022-05-18 14:35:34 +02:00
Patrick McGuire 528802a0e6 Revert "Adding Flake8 Github Action for Python Linting " 2022-05-11 09:05:59 -04:00
Jake Herbst d707010843 Correcting additional flake8 failures on plotly_streamlit.py
Corrected:
F401 imported but unused
E501 line too long
2022-05-11 08:30:38 -04:00
Jake Herbst 7ad6bbe93e Updating script/plotly_streamlit.py to correct pep8 violations
Used 'autopep8 --in-place --aggressive scripts/plotly_streamlit.py' as initial style fixes.
2022-05-11 08:23:42 -04:00
Patrick McGuire ccd305f7f6 Update plotly_streamlit.py 2022-04-12 11:05:07 -04:00
mcguirepr89 f69f04d19d changes that remove the default pi user 2022-04-11 17:29:00 -04:00
mcguirepr89 023b68f386 making changes to accomodate removing the pi user 2022-04-11 10:16:54 -04:00
mcguirepr89 e5c132edf7 new plotly and better recording service 2022-03-31 08:14:18 -04:00
mcguirepr89 1fbff85e57 larger top margin 2022-03-18 17:35:31 -04:00
mcguirepr89 5a78faa231 better spacing for species label 2022-03-18 17:33:12 -04:00
mcguirepr89 8cbad43545 fixed full-screen overlapping 2022-03-17 15:15:53 -04:00
mcguirepr89 200846b466 reads from database now 2022-03-17 14:44:11 -04:00