Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Backend: refactor optional binning in lineplot and the bin* family of fxns

Đang mở
#127 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
r
Lĩnh vực
data-visualization

Hướng nghiên cứu

Start by locating the lineplot, bin* and group* functions in the R package and compare their current arguments and behavior for numeric and date axes. Trace how unbinned results are represented, then identify the relevant tests or examples. Done means the optional binning design and the proposed bin* to group* refactor are implemented consistently without relying on placeholder bin widths.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

technical debt

so currently if you dont want the line plot binned youd have to pass it a binwidth of 0 for numeric x axes and 1 day for dates. the response you get is consistent w if the data were to have been binned, except bin start and bin end are the same value and the bin label is essentially useless.. that seems less than ideal.

additionally, the bin* family of fxns now have some members that take only an x-axis arg, and some that take both an x and y axis. that also seems less than ideal, and while on the surface unrelated to the prev problem im starting to suspect the solution to both problems might be the same..

i think to solve both these problems we should consider adding the concept of 'bin' optionally to any/all group* fxns where its even remotely relevant. if we can we should also refactor the two bin* fxns that only take an x-axis argument to take both x and y args and become group* fxns themselves. this is likely to become a bit involved and requires some careful thinking, so i didnt want to try to attach it to the lineplot deadline.

Ngôn ngữ chính
R
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của VEuPathDB/plot.data

Tất cả issue của VEuPathDB/plot.data

Issue tương tự

Thêm issue về R

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.