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

Scatter: Do not return a line of best fit on plot or legend if only one point

Đang mở
#154 3 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
r
Lĩnh vực
data-visualization

Hướng nghiên cứu

Start at the plot.data Scatter handling for trend lines and reproduce the one-point cases described in the issue, comparing smoothed mean with best fit line output. Review the linked PR discussion for context; done means the one-point best-fit case has an agreed behavior and no misleading line or legend entry is returned.

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

Mô tả

In many mbio abundance vars, we have one data point. This leads to the ability to calculate trend lines with one point. If the user picks smoothed mean, plot.data returns an empty array for that trace. If the user picks best fit line, we return an array with one data point.

If plot.data sees only one data point, should it even calculate a line of best fit? Or just give a warning that we can't make a line from one point and then return an empty array?

First noticed when reviewing this PR

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.