imagej / imagej-ui-swing

ImageJ UI for Java Swing.
BSD 2-Clause "Simplified" License
10 stars 20 forks source link

WIP: Plot service #75

Closed maarzt closed 6 years ago

maarzt commented 7 years ago

Hi Curtis, my work on the plot service made quite a progress. I would like you and maybe the community to have a look at it. What would be the next steps, so that it could become a part of imagej-common and image-ui-swing. Cheers, Matthias

imagejan commented 6 years ago

@maarzt what's the status of this PR? Is there anything missing? Can it be rebased over current master for review?

maarzt commented 6 years ago

@ctrueden I would suggest to close this PR. Let's not merge the code into imagej-common and imagej-ui-swing, but instead use it as a separate package. (Which surprisingly to me already exists: https://github.com/maarzt/imagej-plot-service). We would just need to put it on an proper update site.

maarzt commented 6 years ago

Considering the long term perspectives:

Lets go for a different approach:

  1. First Option (the lazy one): Let's just provide a imagej display for JFreeChart, and we are done. Porting JFreeChart to android will be easier than wrapping it completely.
  2. Second Option (the good one): Let's write a java version of matplotlib (as close to the python API as possible). That's a much easier task than developing and documenting our one API.
imagejan commented 6 years ago

The related discussion on plotting in Jupyter notebooks might be of interest for anyone who stumbles upon this: https://github.com/scijava/scijava-jupyter-kernel/issues/73