Plotting variables: `getvars` access & more flexible `setvars`
@sadielbartholomew đang làm issue này rồi.
Từ ngày 7/4/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Currently we have a function setvars which can be used to set plotting variables. However, there is no direct user-facing way to access/view those stored plotting variables to see what is defined, which is particularly unhelpful when any future call to setvars will reset any values set back to the defaults, and we may want to retain anything set to non-default values (such as in the test suite, where I have a decorator to store the output plot under a certain name to enable image-based comparison but test often call setvars themselves - though it will be useful for many common user-aligned reasons I can foresee as well).
So, we should make it easy to both:
- access/get the set plotting variables, notably with a function
getvarsanalogous tosetvarsto return them as a dictionary; and - set new plotting variables with
setvarswithout setting anything not input there to the default i.e. editing any variables defined in the call without changing any other values.
(1) is priority since the latter could be achieved by inputting the former as kwargs to setvars along with any values to change, but that is a bit clunky as the ideal overall solution to (2).
- Ngôn ngữ chính
- Python
- Star
- 21
- Fork
- 11
- Merge trung bình
- 7 giờ 11 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NCAS-CMS/cf-plot
-
testing
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
-
Add `AGENTS.md` fileĐang mởdocs enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
-
Add animation hooks into cf-plotCó thể làm lại được @bnlawrence đã nhận 97 ngày trước và không có pull request nào đang mở. Đang mởenhancement
-
Ugly nemo plotting issueĐang mởbug v35plus
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Tất cả issue của NCAS-CMS/cf-plot
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Juniper/ansible-junos-stdlib#904 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
pollen-robotics/reachy_mini#1457 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:runtime good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
WATonomous/wato_f1tenth#39 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
FireDynamics/fdsreader#123 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100