Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
5 replies
81 views

I'm making an orbit decay simulation and I don't know how can I make the simulation stop/break when the object collides with the surface. It keeps simulating inside the planet's surface and doesn't ...
Diniz Vitor's user avatar
-3 votes
2 answers
73 views

I am working on a Python project and I need to generate a 2D graph using matplotlib. The data is stored in a text file with two columns (x and y values). Example file: 1 10 2 20 3 30 4 40 How can I ...
Mihaela Diana's user avatar
1 vote
0 answers
41 views

I have script that loops over a set of json color themes, uses seaborn and matplotlib to generate a labeled swatch and then saves it to a buffer. I want to paste the buffer into a new PIL.Image but ...
zoof's user avatar
  • 171
Best practices
1 vote
2 replies
96 views

I am building out functionality in an existing app for a user to upload an excel file to plot out responses for survey questions. There are 4 likert questions with 2 comment response question. The ...
Fennario's user avatar
Tooling
0 votes
2 replies
82 views

I saw this website: https://www.calculators-math.com/graphers/parametric-curve/ I found it very interesting and I would like to create something like it, I saw some libraries being used to make a ...
Maria aldbs's user avatar
0 votes
0 answers
49 views

A scatter plot with an astropy wcs projection is limited to just the xlim/ylim of the axis, even if there are points outside that range: import numpy as np import matplotlib.pyplot as plt import ...
Matthew's user avatar
  • 2,310
1 vote
1 answer
83 views

I have aquestion about the limitation of my colorbar. in my first plot, i want to show values of climate data from zero to maximum and in my second plot from minimum to maximum. unfortunately, I didn'...
Kay 's user avatar
  • 13
3 votes
2 answers
82 views

I have the following plot made with Python seaborn: The plot I have: Obtained by this piece of code: plot = sns.scatterplot(data=by_sent_type, s=50) plot.set(xlabel="pair", ylabel="...
Ivy's user avatar
  • 33
1 vote
1 answer
92 views

So I worked with ChatGPT to create a 3D bar chart with a gradient effect in Python. I met a problem that I cannot add outlines to bars. If I do so, it will make the bar transparent. GPT says it is a ...
Kevin's user avatar
  • 607
Advice
0 votes
4 replies
75 views

I'm quite the baseball fan, and if you are as well, you've probably seen the X profile of the user Pitcher Profiler creates these awesome post-game reports for players, and one of the visualizations ...
Jole77's user avatar
  • 1
Best practices
0 votes
1 replies
62 views

I want to plot a 3D curve showing the X-Y grid in polar coordinates. Here's a sketch and my script that generated it: from math import cos, cosh, floor, pi, sin, sinh import matplotlib.pyplot as ...
troy's user avatar
  • 51
Tooling
0 votes
0 replies
32 views

I want to create a 3d plot that only shows data and annotations in the xy, xz, and yz planes. Especially, annotations should be fixed to these planes as well, and should not rotate out of them when ...
user2224350's user avatar
  • 2,336
3 votes
0 answers
103 views

For the context, I want to represent spatial-temporal evolution of a heatwave event. In this example, a heatwave is defined when the daily temperature is higher than the temperature threshold and the ...
Bastounator's user avatar
3 votes
1 answer
61 views

I am trying to plot various isotope fractionation values in a boxplot. I have most of the code but I'm having two main issues: The min and max error bars don't show up for every box and Adding a ...
user32351733's user avatar
1 vote
1 answer
79 views

Question: How can you make a colormap in matplotlib to render smoothly on a display? Let me clarify. This is the code: import matplotlib.pyplot as plt import numpy as np import matplotlib.colors as ...
Buru Cristian's user avatar

15 30 50 per page
1
2 3 4 5
4856