Skip to main content
New: Stack Overflow For Agents. The next generation of knowledge exchange. Learn more
Filter by
Sorted by
Tagged with
Filter by Employee ID
0 votes
3 answers
177 views

Plots of different graphs fitted using the same function I tried fitting my plots, which are supposed to show a negative exponential using the same function, but predictions for L_infty are really ...
bakirtzis's user avatar
4 votes
1 answer
85 views

import numpy as np import matplotlib.pyplot as plt x = np.linspace(1, 6, 10) plt.figure() for i in range(10): T = i + 20 Fit = 4 * x - ( 2 + i) noise = np.random.normal(loc=0, scale=1.0, ...
Camille's user avatar
-2 votes
1 answer
69 views

In my Visual Studio Code is not importing these programs with the following script import matplotlib.pyplot as plt import meteostat as ms Are there "pandas" or "pip" commands I ...
Jose Hurtado's user avatar
4 votes
1 answer
131 views

I have a python script, test.py: import matplotlib.pyplot as plt plt.plot() plt.show() plt.savefig("/home/user/Desktop/test.png") When I run it in a virtual environment using this, user@...
Inglorious_basterd's user avatar
0 votes
1 answer
66 views

I am building a Streamlit dashboard with two columns: Left: a Plotly pie chart Right: a calendar heatmap using calplot My issue is that I cannot make both visualizations have the same height. Even ...
Av65's user avatar
Best practices
2 votes
3 replies
102 views

So I have the following problem: I have several pandas Series's which I want to graph using matplotlib's subplot. I came up with the following code items = [expcat, inccat, expmonth, incmonth] fig, ...
Celepharn's user avatar
Tooling
1 vote
3 replies
118 views

I have a contour plot here with data that ranges from 10 to 60 ish but i need the colorbar to show from 0 to 330 (for comparison with a similar plot), I've had a few python classes but its been mostly ...
abi's user avatar
-1 votes
2 answers
108 views

Does anyone know why this isn't working? plot.py: 355 logging.getLogger('matplotlib.legend').setLevel(logging.ERROR) 356 plt.set_loglevel("error") 357 plt.legend() I'm getting this:...
David Banas's user avatar
-1 votes
1 answer
133 views

I am using: https://matplotlib.org/stable/gallery/pie_and_polar_charts/nested_pie.html BUT I'm feeding it a jagged array in the form of a masked array (through zero-padding), rectangularising it into ...
Signor Pizza's user avatar
0 votes
1 answer
136 views

I have a set of biological samples divided in three types (1, 2 and 3). I have managed to plot a PCoa analysis based on the Bray-Curtis distances regarding the relative abundance of some genes in the ...
Lina's user avatar
0 votes
2 answers
102 views

I have to display a plot and the corresponding data juxtaposed next to each other. The following code produces the result, but there are 2 problems: import numpy as np import pandas as pd import ...
cph_sto's user avatar
0 votes
0 answers
57 views

So im trying to plot a 3D figure as shown in here. The problem is that Z label is not appearing at all. Is there a way to make like the box smaller or make the figure larger so it can fit in ? Below ...
Destr's user avatar
1 vote
0 answers
132 views

I have some figures with subplots where I compare various parameters from two tests (excel files Testdata1 and Testdata2) . Since the same two test is in all the subplots I use legend on the figure ...
KVa's user avatar
Advice
0 votes
2 replies
107 views

I've got a class project to do, it's supposed to display the mandelbrot set with a customizable colour map and a max_iter slider. I've got the colour map radio buttons working, but I can't manage the ...
Helewapo's user avatar
0 votes
0 answers
60 views

I am using Matplotlib in Spyder and I am trying to change the figure size with figsize, but it does not seem to make any visible difference no matter what values I use. For example, even if I change: ...
Hamza Hussian's user avatar

15 30 50 per page
1
2 3 4 5
4852