Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#154 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
r

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
R
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di VEuPathDB/plot.data

Tutte le issue di VEuPathDB/plot.data

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.