ScottPlot: PlottableScatter.GetLimits() throws System.InvalidOperationException: Sequence contains no elements

Describe the bug Provide a clear and concise description of what the bug is

Unhandled exception. System.InvalidOperationException: Sequence contains no elements at System.Linq.ThrowHelper.ThrowNoElementsException() at System.Linq.Enumerable.Min(IEnumerable`1 source) at ScottPlot.PlottableScatter.GetLimits() at ScottPlot.Settings.AxisAuto(Double horizontalMargin, Double verticalMargin, Boolean xExpandOnly, Boolean yExpandOnly, Boolean autoX, Boolean autoY) at ScottPlot.Plot.RenderBitmap() at ScottPlot.Plot.GetBitmap(Boolean renderFirst, Boolean lowQuality) at ScottPlot.WpfPlot.Render(Boolean skipIfCurrentlyRendering, Boolean lowQuality, Boolean recalculateLayout)

To Reproduce Describe what we can do to reproduce the behavior

// include code to help us reproduce this bug

Screenshots If applicable, add screenshots to help explain your problem

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks.