All Questions
Tagged with visualizationmatplotlib
70 questions
2votes
0answers
15views
How can i plot large .nc files with xarray and matplotlib?
I have a 11GB .nc file with lon/lat positions, and particle trajectories on the ocean surface for a timespan of 40 days. For small files (Approx 140MB) i use xarray, netCDF4, matplotlib and cartopy to ...
3votes
0answers
38views
A stupid question about contour plots
I am trying to make a contour plot for a point distribution using mat plot lib, but I find that the outermost points in the distribution are not included inside the perimeter of the outermost contour ...
1vote
1answer
26views
implementing the SIRD model in python
im doing a project for my class where im trying to implement the sird model with the vaccinated population. Ive written my code based on the equations i have but something seems off in my graph. the ...
3votes
1answer
1kviews
Pandas Profiling Not Working
I have been working on EDA lately and i got to know about Pandas Profiling , but i am unable to import the module Pandas_Profiling , I could import the module on Google Collab but couldnt import the ...
1vote
0answers
241views
Why do seaborn.histplot and pyplot.hist generate two different histograms on the same data?
I'm trying to visualize a customer data, two of the variables I'm looking at are verified_status and video_transcription_length. ...
0votes
1answer
122views
Better understand the scatter plots
I'm trying to understand how to read a scatter plot based on the results of my confusion matrix. This is the CM: I saw an high correlation between column 5 and column 6, a low correlation with column ...
0votes
1answer
32views
How can I create this type of visualisation using Python?
I have csv file containing some hierarchical data and I’d like to create a visualisation like this: Anybody know how I can do this, preferably using matplotlib?
1vote
0answers
12views
Annotations in matplotlib barplot
I would like to annotate the bars for the plot based on this groupby in a static fashion. Given that the cluster groups all happen to have genders that roll up to the same value per cluster, static ...
1vote
2answers
6kviews
How can I remove legend from the figure in seaborn?
Here is my diagrams, I want to remove the labels of the second bar that is C1,C2,C3,C4,C5, because it is repeating.
0votes
1answer
921views
How do I prevent ConfusionMatrixDisplay.from_predictions from showing the plot?
ConfusionMatrixDisplay docs say: It is recommend to use from_estimator or from_predictions ...
0votes
1answer
9kviews
How to plot the bar charts of precision, recall, and f-measure?
I have used 4 machine learning models on a task and now I am struggling to plot their bar charts just like shown below in the image. I am printing classification report to get precision, recall etc. ...
0votes
1answer
1kviews
How do I get pcolormesh to plot two distinct colormeshes on the same figure?
I am trying to plot 2 distinct colormeshes on the same figure. They are mutually exclusive, so there are no overlaps. This is my code: ...
0votes
2answers
3kviews
How to plot categorical variables with a pie chart
I am concerned with a single column (fruit) from my df: ...
0votes
1answer
262views
Ugly AUC curves. Sklearn. How to make AUC Curves less square
I dislike the square look of this AUC curve (SKLearn). The purpose of this question is "visual". Please post code snippets. This question is not requesting the theory behind the AUC. My goal ...
1vote
1answer
488views
Visualization with many lines, colors, and markers
I have a bunch of plots as the one reported below. The data is from measurements performed on different times and different days. In the plot (which is a cumulative distribution function, if that ...