Comments (4)
Ah sorry for leaving you hanging here, totally forgot about this.
Is theres something that just wont be possible with Plots?
I'm not exactly sure if anything will be outright impossible, but I definitely think some things will be harder. My anecdotal experience is that Plots.jl doesn't let you muck around with axis objects to the same extent as PyPlot, and there have been a few times where I've run into things (can't remember what exactly) that just aren't implemented in the Plots.jl frontend. In any case, I agree that that the PyPlot and Plots hooks should take advantages of the strengths of their respective packages.
As for @requires
, we don't actually need to add Plots.jl as a dependency, so I'm not sure if this is necessary. Usually the way you add Plots.jl functionality to a package is via RecipesBase, which is a package with no dependencies that defines "recipes" for Plots.jl to use. Then it's up to the user to do using Plots; plot(...)
, totally separate from CMBLensing itself. But this is a minor point, and that naming scheme sounds reasonable.
I can take a stab at this sometime in the next few weeks!
from cmblensing.jl.
Do we want the plot recipes to exactly replicate the PyPlot functionality in plotting.jl?
Which functionality specifically do you mean? Is theres something that just wont be possible with Plots? (I think this is fine btw and shouldnt stop us from putting something in there)
I will say I don't think it needs to replicate the existing functionality, or that one needs to be productions vs. quick&dirty. Rather, I see it as some people might like PyPlot.jl, others might like Plots.jl, and it'd be nice to have a hook into both, each which is consistent with the paradigm / code style of how the particular package.
from cmblensing.jl.
Feel free to open a PR to start. I think we rename plotting.jl
-> pyplot.jl
and add a plots.jl
, which would similarly be wrapped in a @requires
.
from cmblensing.jl.
I quite like Plots.jl, so I am revamping this thread. It seems to be a WIP, with some documented features being backend-specific, and some not being implemented at all. However, I quite like the @recipes
functionality, and prefer some of the backends to PyPlot.jl, personally.
I have started a PR (#42) for this, with a first attempt at a flat field recipe.
from cmblensing.jl.
Related Issues (15)
- Bug loading CAMB Cls HOT 1
- passing operators to `load_sim_dataset` is delicate on v0.2.1 HOT 1
- Support non-square flat-sky maps HOT 1
- Give argmaxf_lnP a more reasonable default tolerance
- Document that MKL should be used HOT 1
- Figure out a way to get MyBinder working again HOT 1
- support non-zero EB/TB covariance
- Fix EB constructor HOT 1
- TagBot trigger issue HOT 12
- Make Nside a tuple by default HOT 1
- Before tagging 0.7
- Recent AD woes
- Support for nightly HOT 2
- Gradient with respect to r gives error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmblensing.jl.