Comments (9)
I'm in favour of this switch. Corner is a good name ;-)
On Tuesday, September 15, 2015, Kyle Barbary [email protected]
wrote:
I've bugged Dan about this before on twitter. :)
There's considerable confusion caused by names in this module: The module
name is triangle, the pypi name is "triangle_plot," the repo name is
"triangle.py," and the main entry point within the package is corner().
Results of the confusion: #39
#39 and #28
#28.I suggest renaming all of these to simply corner, which is miraculously
unclaimed on PyPI. You get:
- pip install corner
- from corner import corner or import corner; corner.corner(...)
(I'm not so set on the name, just the consistency.)
Two possible downsides:
- There could still be conflicts with other PyPI packages if any of
them provide a corner module or package (despite not being named
"corner"). However, I didn't see any obvious candidates for this when
searching "corner" on PyPI.- Dan might not want to rename the repo, since it is so popular. I
would think github redirects would take care of this though?Any thoughts on the color of this bikeshed?
—
Reply to this email directly or view it on GitHub
#59.
from corner.py.
It is no longer available 😉 https://pypi.python.org/pypi/corner; https://github.com/dfm/corner.py
from corner.py.
That was fast :) I suppose there's some reason you created a new repo instead of renaming? I think renaming would keep the forks/stars/watchers.
from corner.py.
Nope: I'm just dumb. Doing that now! I somehow forgot that GitHub does have redirects.
from corner.py.
Nice. My dreams have been fulfilled today.
from corner.py.
Mine too! :-)
Did you rename to corner or corner.py? I'd go for the former myself. Then-
does it make sense to rename the main def as "plot" in order to, you know,
make a cornerplot?
On Tuesday, September 15, 2015, Kyle Barbary [email protected]
wrote:
Nice. My dreams have been fulfilled today.
—
Reply to this email directly or view it on GitHub
#59 (comment).
from corner.py.
I guess adding a plot method that just calls corner is the better way to do
this though, to avoid breaking everyone's code even further :-)
On Tuesday, September 15, 2015, Phil Marshall [email protected]
wrote:
Mine too! :-)
Did you rename to corner or corner.py? I'd go for the former myself. Then-
does it make sense to rename the main def as "plot" in order to, you know,
make a cornerplot?On Tuesday, September 15, 2015, Kyle Barbary <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:Nice. My dreams have been fulfilled today.
—
Reply to this email directly or view it on GitHub
#59 (comment).
from corner.py.
Well that took some git foo! But everything is properly migrated now. Thanks @kbarbary and @drphilmarshall. I have been wanting to do this!
You now install using:
pip install corner
and run:
import corner
corner.corner(...)
If you install triangle_plot
it will continue working as a shim to corner.py
but it throws a deprecation warning.
I don't like calling the function plot
because I'd rather be able to do
from corner import corner
It would, of course, be even better to enable:
from corner.corner import corner as cornerplot
but who has time for that 😉
from corner.py.
:-)
Thanks a lot Dan, this is great.
I think I'll just munge my data into an array called "plot" and then do
import corner
corner(plot)
;-)
On Tue, Sep 15, 2015 at 3:37 PM, Dan Foreman-Mackey <
[email protected]> wrote:
Well that took some git foo! But everything is properly migrated now.
Thanks @kbarbary https://github.com/kbarbary and @drphilmarshall
https://github.com/drphilmarshall. I have been wanting to do this!You now install using:
pip install corner
and run:
import corner
corner.corner(...)If you install triangle_plot it will continue working as a shim to
corner.py but it throws a deprecation warning.I don't like calling the function plot because I'd rather be able to do
from corner import corner
It would, of course, be even better to enable:
from corner.corner import corner as cornerplot
but who has time for that [image: 😉]
—
Reply to this email directly or view it on GitHub
#59 (comment).
from corner.py.
Related Issues (20)
- Setting the title_quantiles does nothing? HOT 2
- multiple line style for quantiles HOT 2
- Problems with installation HOT 3
- [BUG] Docs for the custom plot are broken HOT 1
- Misplaced **hist_kwargs? HOT 4
- Documentation errantly suggests labels are inferred from pandas.DataFrame columns HOT 4
- axes_scale argument does not work? HOT 2
- range doesn't work, or am I making a mistake? HOT 4
- ValueError: Axis limits cannot be NaN or Inf HOT 3
- Feature add request: interactive plotting using bokeh
- title_quantiles not working? HOT 2
- Matplotlib version [Urgent, maybe] HOT 13
- Having title_quantiles=None when quantiles is passed without having exactly 3 elements raises a ValueError HOT 4
- change colormap HOT 3
- Missing label on first marginalisation HOT 2
- Add option for rotated view of last marginalisation
- Do not mute mutable arguments HOT 1
- reverse=True incompatible with truths HOT 1
- linestyle argument in overlpot_points
- Reference problem
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 corner.py.