cibotech / evilplot

A Scala combinator-based plotting library.
https://cibotech.github.io/evilplot
BSD 3-Clause "New" or "Revised" License
241 stars 25 forks source link

Migration to Dotty #143

Open scalastats opened 1 year ago

scalastats commented 1 year ago

Do you intend to make evilplot available for dotty? There has been little activity for a while. Does this mean that development has ceased? Any hope for a version 1.0?

ahawkins318 commented 1 year ago

Hi, this project is not being actively developed anymore but we will still review any submitted PRs.

scalastats commented 1 year ago

Hi, thanks for writing. If the project is no longer actively developed, where do you advise me to turn to for a good scala-lib for plotting? Any reason why the library is falling in disuse? There is a dearth of such libs – we are falling behind Python (not a choice for a seasoned scala developer, I am afraid).

Grüsse Stephan

From: Amy Hawkins @.> Date: Monday, 3 October 2022 at 18:23 To: cibotech/evilplot @.> Cc: Stephan Maier @.>, Author @.> Subject: Re: [cibotech/evilplot] Migration to Dotty (Issue #143)

Hi, this project is not being actively developed anymore but we will still review any submitted PRs.

— Reply to this email directly, view it on GitHubhttps://github.com/cibotech/evilplot/issues/143#issuecomment-1265712731, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2MVTJIMGNEZHHDC5AC5IJ3WBMCBVANCNFSM6AAAAAAQZQDMZ4. You are receiving this because you authored the thread.Message ID: @.***>

Iltotore commented 1 year ago

AFAIK the lib is already usable with Scala 3. Just make sure to import io.github.cibotech:evilplot_2.13:0.8.1.

For instance this script works:

//> using scala "3.2.1"
//> using lib "io.github.cibotech:evilplot_2.13:0.8.1"
//> using lib "io.github.cibotech:evilplot-repl_2.13:0.8.1"

import com.cibo.evilplot._
import com.cibo.evilplot.plot._
import com.cibo.evilplot.plot.aesthetics.DefaultTheme._
import com.cibo.evilplot.numeric.Point

val data = Seq.tabulate(100) { i =>
  Point(i.toDouble, scala.util.Random.nextDouble())
}

displayPlot(ScatterPlot(data).render())