plotlib icon indicating copy to clipboard operation
plotlib copied to clipboard

1.0

Open milliams opened this issue 6 years ago • 4 comments

This is an overview issue to track all the feature we want before 1.0:

  • [ ] lots of plot types
  • [ ] legends
  • [ ] output plots in may formats
    • [x] SVG
    • [x] ASCII
    • [ ] PNG
    • [ ] 3D format
  • [ ] different projections
    • [x] normal 2D plot
    • [ ] 3D plot on a 2D page
    • [ ] map projections
  • [ ] dual y-axes
  • [ ] combined (e.g. scatter plus histogram) plots
  • [ ] easy to get own data into plots
  • [ ] extensible with new output formats and projects
  • [ ] custom axis formatting
  • [ ] custom styling

milliams avatar Mar 13 '18 11:03 milliams

What about adding PNG to the list of output formats ? I actually don't know how some of the PNG crates work

ManifoldFR avatar Jul 29 '18 14:07 ManifoldFR

What do you think about adding the image crate and extending the View trait with some "to_image" method?

faulesocke avatar Sep 22 '18 00:09 faulesocke

Also annotations (text with pointers towards data points) would be a really nice feature!

faulesocke avatar Sep 22 '18 00:09 faulesocke

I might be tempted to contribute in the future to add candle bar plotting available, but I notice the axis is defined with floats while plotting of time series requires some notion of time and duration.

3 questions:

  • Is time series support something you plan to add soon? (so I do not start working on it to see it committed before I'm done...)

  • Between introducing a Coordinate (and maybe an Interval too) trait and having multiple types (integer types, f32, f64, potentially chrono::NaiveTime, chrono::NaiveDate and chrono::NaiveDateTime (behind a feature gate) implement them to potentially get to an abstract Axis<Coordinate> or just using a UNIX timestamp turned into an f64 to represent time-series' coordinates, what would you prefer?

  • Would it be risky for me to start working on those in a few weeks? (e.g. is there any big refactoring planned?)

Otherwise, I am really happy to see a decent-looking crate for plotting appearing. I was actually thinking of making my own soon (I am studying algorithmic trading) and I feel this will save me a lot of time.

Proksima avatar Oct 24 '18 23:10 Proksima