Git Product home page Git Product logo

swiftvis2's People

Contributors

markclewis avatar miguelangel-reyes avatar miguelareyes avatar nsmoker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

swiftvis2's Issues

Any benchmark?

It is possible to add a benchmark in the project to compare the performance of the last version of SwiftVis2 with other data visualization project?

plot to png file

Hi Dr. Lewis,

I am using the swiftVis2 for plotting but have a problem. I would like to persist a plot as a png file but I cannot find such a method.
Also, I tried the ImageIO but no success (e.g. ImageIO.write(plot, "png", new File("temp.png"))) because the first arg must be a type of java.awt.image.RenderedImage. Could you show how can I save the plot (e.g. Plot.scatterPlot) as a png file?

Java 8 required

I got into an issue.

Because the project use scalafx dependency 8.0.144-R12, I had to use java 8 jdk. But using ubuntu 20, I had to install manually the openjfx 8 packages (because it's not anymore in the apt repository and even on JavaFX Download site you cannot find the version 8.
OpenJdk 8 don't have the jfxrt.jar in lib/ext folder.

Do you think the upgrade to javafx 11 (scalaFX 11-R16) would be complicated ?

I really like your library and I would love to use it in my projects.

Thx

IDE error while trying Plot.scatterPlotGrid but code compiles just fine

I am trying to plot a Plot.scatterPlotGrid using my Spark Dataset columns.

def plotData(): Unit = {
    implicit val ds = df

    val plot = Plot.scatterPlotGrid(
        Seq(
            Seq((doubles(ds, $"medv"), doubles(ds, $"crim"), BlackARGB, 5), ($"medv", $"crim", RedARGB, 5))
        ),
        "Plot Grid", "Shared X", "Shared Y"
    )

    SwingRenderer(plot)
}

While this code compiles fine, and the program runs fine as well, the IDE editor itself is showing me an error:

Untitled

Need to update Installation in README

There's a point in the installation instructions which says:

Run ++2.11.12 to set the Scala version to 2.11. You can update the last value to whatever the latest release is. This is required because Spark currently doesn't work with Scala 2.12 or newer

The thing is I did a publishToLocal without setting ++2.11.12, and I see that swiftviz2spark_2.12 has been generated in my local:

image

Another thing is I don't see swiftvis2_2.12 generated inside the same folder, so probably the instruction which says:
libraryDependencies += "edu.trinity" %% "swiftvis2" % "0.1.0-SNAPSHOT"
needs to be updated to:
libraryDependencies += "edu.trinity" %% "swiftvis2core" % "0.1.0-SNAPSHOT"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.