Skip to main content
2 votes
2 answers
143 views

I've been scratching my head over this way too long now, but can't find any answers online, and I hope someone can shed some light on this. I'm working with Pandas and a csv file, from which I need to ...
Rerun's user avatar
  • 57
3 votes
2 answers
103 views

I have a sensor time series with these properties: ~250,000 data points at high sampling rate over ~12 hours ~11 continuous segments separated by 30-40 minute gaps (sensor goes offline periodically) ...
requiemman's user avatar
1 vote
2 answers
80 views

I have the following plot, using a symmetric log scale: from matplotlib import pyplot as plt from matplotlib import ticker (_, ax) = plt.subplots() ax.plot([-100, -1, -0.5, 0, 0.5, 1, 100], marker='o')...
Ilya's user avatar
  • 657
3 votes
1 answer
124 views

I'm trying to plot actual vs predicted values using matplotlib. Here is my code: import pandas as pd import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from sklearn....
Rima 123's user avatar
1 vote
0 answers
115 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
  • 11
0 votes
1 answer
186 views

How can I make this plot using Seaborn or matplotlib? A key requirement is that the plot code be less than about 10 lines (this code is meant to go in a book and should not require a PhD in matplotlib)...
Ian Gow's user avatar
  • 3,577
Advice
0 votes
3 replies
68 views

I would like to make a 3D surface plot (ideally like the one seen here https://matplotlib.org/stable/gallery/mplot3d/contour3d_3.html) from a 3D array. How do I take one 3D array and create the three ...
Polly Gill's user avatar
1 vote
0 answers
131 views

Hi I was trying to implement a plot function for a DFA class, using networkx in python. def plot(self): G = nx.MultiDiGraph() nodes = self.collect_nodes() for n in nodes: ...
Jip Helsen's user avatar
  • 1,426
Advice
0 votes
2 replies
96 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
51 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
  • 11
0 votes
0 answers
55 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