tiby312 / poloto-project

MIT License
158 stars 10 forks source link

Add blurb about specifying min/max bounds upfront #179

Open tiby312 opened 2 years ago

tiby312 commented 2 years ago

About why user can't specify min max bounds.

tiby312 commented 1 year ago

User can already define min/max bounds that are greater than the computed min max bounds via adding markers. The user cant specify lower. However, they can crop points on a plot by plot basis.

Even with these features, you could make an argument for having the user have the ability to specify the bounds up front thus saving having to compute it dynamically. However, I don't think computing the min/max upfront is that expensive (its linear) to justify this api. If this feature were added, it should panic/throw an error on points that are outside the area. Otherwise outlier points could not get plotted, but that error case would go unnoticed by the user.