Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wishlist #61

Closed
sglyon opened this issue Jul 25, 2016 · 12 comments
Closed

Wishlist #61

sglyon opened this issue Jul 25, 2016 · 12 comments

Comments

@sglyon
Copy link
Member

sglyon commented Jul 25, 2016

This issue here to serve as a public wishlist for things people would like to see in the next release of PlotlyJS.jl. Essentially this is supposed to be a list of all the things you'd like to have/see in your ideal plotting package. This could be new feature suggestions or API wishes or anything else you can think of (though we can't promise everything will be implemented).

I'm going to copy the quantecon team here because we have some plans to push the library forward for QE usage, but contributions from anyone are absolutely welcome!

cc: @jstac, @cc7768, @mmcky, @oyamad, @albep, @vgregory757, @albop, @thomassargent30, @ZacCranko, @szokeb87, @danielcsaba

@albep
Copy link

albep commented Jul 25, 2016

Hey @spencerlyon2 this is great, can't wait to see what new features will be suggested and implemented. From the kinds of plots I end up using, I find the only missing piece I'd like in PlotlyJS is LaTeK integration - something you're well aware of. So not much original contribution from me, but this is to say that for my usual plots I'm happy with what PlotlyJS gives

@cc7768
Copy link
Collaborator

cc7768 commented Jul 25, 2016

I know some people feel strongly about being able to draw violin plots. If you give me some "marching orders" then I might be able to try and help implement this.

Bonus points if you saw this coming.

@tbreloff
Copy link
Member

You can already do violin plots through StatPlots.

On Monday, July 25, 2016, Chase Coleman notifications@github.com wrote:

I know some people feel strongly about being able to draw violin plots. If
you give me some "marching orders" then I might be able to try and help
implement this.

Bonus points if you saw this coming.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#61 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA492vU4S49KndZYV0cAWu1awpE8AmcJks5qZTohgaJpZM4JUhwv
.

@jstac
Copy link

jstac commented Jul 26, 2016

How about adding a simplified syntax for basic plots? For example, many plotting packages will do what you expect when you enter

plot(x, y, color="blue")

Free disposal applies...

@oyamad
Copy link

oyamad commented Jul 26, 2016

I have never used any plotting package other than PyPlot.jl, so it might have been there already, but I think it would be nice if a histogram can be plotted with one command.

Here is an example (Cell [8]), where I used fit from StatsBase. It would be nice if something like hist(x, 0:N) plots a histogram without reference to StatsBase.fit or anything.

@asbisen
Copy link

asbisen commented Jul 26, 2016

I would like this already excellent library to have the following capabilities, some might exist already that I might have missed.

  • Documentation improvements (with syntax and examples in docstring) <-- I can help here
  • Resize Plots when window size is changed
  • Compatibility with Julia v0.5
  • Linked multi plots
  • Ability to export multiple plots in a single external HTML
  • Display static plots (SVG, PNG) in Jupyter
  • High Level Charts

@vgregory757
Copy link

Thanks for doing this @spencerlyon2! I haven't used PlotlyJS.jl on its own that much, but I have noticed that the plots don't show up in previews of a Jupyter notebook (like on GitHub). Also, this might be implemented already, but I always like if a plotting package has a way to easily change the aspect ratios of each subplot when you have multiple.

@sglyon
Copy link
Member Author

sglyon commented Jul 28, 2016

LaTeX support (in all settings except a notebook in Chrome) and plot resizing finished on master branch.

@sglyon
Copy link
Member Author

sglyon commented Aug 23, 2016

@asbisen can I ask, what are you looking for when you ask to display static plots in Jupyter notebook?

Right now it should be possible to define a display_static(::SyncPlot, format::Symbol) function that uses Electron to produce the desired static image. This would be very helpful for things like pdf export from a notebook.

@sglyon
Copy link
Member Author

sglyon commented Aug 23, 2016

Also, @asbisen what would you like the multiple export, single html file to look like? Just plots one on top of another? We could potentially add a method savefig{N}(::NTuple{N,Plot}, filename) that does just that.

@asbisen
Copy link

asbisen commented Aug 23, 2016

On static plot @spencerlyon2 I think you have defined it accurately. Currently the plots generated are interactive (and they are great for exploratory data analysis), but there is also a need in my view to be able to generate static high quality versions for publishing them or for shared Jupyter notebooks (PDF, SVG or PNG).

On multiple export I would defer the what to experts here. But I was thinking something along the lines of stacking multiple of these plots in a single HTML (potentially wrapped inside a nice default CSS for visual aesthetics). Sort of like a journal that can capture all the outputs in a shareable html format. This also ties in well with the sub request of Printing Tables.

This might be out of scope for the project... But you did asked for a wish list right? ;-)

@sglyon
Copy link
Member Author

sglyon commented Dec 13, 2017

Many of these things have been resolved.

Those that aren't should have their own issues. If you have a favorite item on this list that has not been implemented and you want to vote for its implementation, please open an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants