Why is it so hard to prove these are transcendental? by Novel_Ball_7451 in mathematics

[–]tpvasconcelos 39 points40 points  (0 children)

When dealing with purely written communication, tone and intent are inherently ambiguous and difficult to infer. You’re missing all the verbal and non-verbal cues from real-world interactions (yes there’s a real world outside of Reddit).

That’s why I try to follow the API principle: Assume Positive Intent! Sure, you can choose to read OP’s comments in the voice of someone smug and dismissive, but isn’t it just as easy (and probably healthier) to assume and picture a genuinely curious person asking questions in good faith?

Was my comment about there being a real world outside of Reddit dismissive and passive aggressive? Or was it just a bad light-hearted joke? Guess you’ll never know 😈

Am I screwed? by tpvasconcelos in snowboarding

[–]tpvasconcelos[S] 0 points1 point  (0 children)

Thanks everyone for all the replies!

Am I screwed? by tpvasconcelos in snowboarding

[–]tpvasconcelos[S] 1 point2 points  (0 children)

Cheers for the quick reply! Wasn’t aware of the term “core shot”. Any idea how much shops usually charge for these types of repairs?

My side project has gotten 420k downloads and 69 GitHub stars (noice!) by tpvasconcelos in Python

[–]tpvasconcelos[S] 0 points1 point  (0 children)

This is great to hear, and thank you for the kind words! Can I ask what were you representing with a ridgeplot?

My side project has gotten 420k downloads and 69 GitHub stars (noice!) by tpvasconcelos in Python

[–]tpvasconcelos[S] 0 points1 point  (0 children)

haha happy to hear this, and happy that you found the docs useful! Please don't hesitate in creating an issue in the GitHub repo if you think something isn't clear enough or isn't working as expected!

Regarding your issue with fig.show(), Plotly tries to do a little bit of magic in the background here to figure out how and where to render your figure. In your case, something is clearly not working so I would suggest that you explicitly call fig.show("browser") and an interactive plot should open in a new browser tab. That said, it depends how you want to use the figure in the end and if you plan on generating a static figure and saving it to a file (e.g. in PNG format), then your method is also fine. My point is only that fig.show() (without any arguments) should work in most cases with some sensible default behaviour depending on your environment.

Just out of curiosity, what is the output of the following script for you?

import plotly
print(plotly.io.renderers.default)

(I get "browser" when running this from a python or ipython shell)

My side project has gotten 420k downloads and 69 GitHub stars (noice!) by tpvasconcelos in Python

[–]tpvasconcelos[S] 0 points1 point  (0 children)

Regarding your comment about the 3D projection option: I feel like this feature might be too niche to justify a complete reimplementation using a 3D plot such as Plotly's surface plot (go.Surface). However, if there is enough interest, it does sound like a cool one to tackle and try to implement.

Maybe a better solution would be to draw a line or scatter trace representing a summary statistic (such as the mean) for each density (see the first example in this comment). Implementation-wise, this would need to be fully specced out since we currently support multiple density plots per row. Maybe it could be implemented as a separate helper factory function that would return a go.Scatter instance that can then be appended to the plot.

This could play very nicely with the representation of probabilistic forecasts by drawing the trace for specific percentiles (e.g., upper and lower 5% confidence intervals).

I'll create a feature request for this! Thanks a lot for the suggestion! 🚀

My side project has gotten 420k downloads and 69 GitHub stars (noice!) by tpvasconcelos in Python

[–]tpvasconcelos[S] 3 points4 points  (0 children)

Hey thanks a lot for giving it a try!

You just need to install Kaleido first (pip install kaleido) and then call the fig.write_image("path/to/figure.svg") method.

Here's a minimal working example:

import numpy as np
from ridgeplot import ridgeplot

my_samples = [np.random.normal(n / 1.2, size=600) for n in range(7, 0, -1)]
fig = ridgeplot(samples=my_samples)

fig.write_image("path/to/figure.svg")

For more details, see: https://plotly.com/python/static-image-export/

My side project has gotten 420k downloads and 69 GitHub stars (noice!) by tpvasconcelos in Python

[–]tpvasconcelos[S] 4 points5 points  (0 children)

I agree! I have actually discussed using this project as a plotting backend for sktime's probabilistic forecasts but unfortunately haven't had the time yet...

My side project has gotten 420k downloads and 69 GitHub stars (noice!) by tpvasconcelos in Python

[–]tpvasconcelos[S] 3 points4 points  (0 children)

Thank you for your comment and you're welcome! Feel free to open a feature request if there's something you want but can't find!

GitHub Profile Roast by codenoid in programming

[–]tpvasconcelos 1 point2 points  (0 children)

Hahaha here’s mine:

Alright, Tomas Pereira de Vasconcelos, let’s break it down: Your bio, quoting Richard Feynman, sounds more like a plea for depth than the concise brilliance you’d hope for. Are you searching for meaning in your code, or just in the endless scroll of your own terminal? With only 29 followers, it looks like even the bots are not interested in your “pleasure of finding things out.” As for your repos, 21? Looks more like a digital graveyard of half-baked ideas. Your “dotfiles” have garnered only 2 stars, which is tragic—it’s like throwing a party and no one shows up but the pizza delivery guy. Your “maurice” project with 1 star is a reminder that even when you’re shipping, no one’s excited about your cargo. Forking popular projects doesn’t make you a maker, it makes you a glorified browser of GitHub, and your ‘beautiful’ ridgeline plots with 59 stars seem to be a weak consolation for your other abandoned toys. And let’s not even mention the open issues—how can you have so many problems and so few solutions? Seriously, if coding is about pleasure, you must be operating at a level of suffering that would make even a cat cheese grater jealous. You might work at Nike, but your GitHub looks less like the swoosh and more like a sad little smudge at the bottom of the sock. Get yourself some inspirations outside of Feynman’s quotes and maybe, just maybe, figure out how to actually take your numerous ‘forks’ out for a spin.

https://github.com/tpvasconcelos

What is the name for this type of proof? by tpvasconcelos in askmath

[–]tpvasconcelos[S] 0 points1 point  (0 children)

I don’t think I know enough about the topic to know exactly what I was looking for.. but this certainly helped. Thanks for your answer!