Skip to main content

Questions tagged [plotting]

Use for questions about graphing a dataset into a visualisation (e.g. line plot, histogram or pie chart). Visualisation and plotting is an important EDA tool as well as presenting the results of a data science project.

3votes
0answers
37views

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 ...
junco's user avatar
3votes
1answer
117views

How to plot the marginal distributions of features in Iris dataset?

I'm trying to plot the marginal distribution of each feature (sepal length for example) of the Iris dataset use Numpy and Seaborn libraries like the first plot in the image below: However, I don't ...
Kt Student's user avatar
1vote
1answer
35views

How to visualize two OUTPUT metrics for an array of simulations?

GOAL: visualize simulation output (z) and that time it takes to perform said simulation CONTEXT: MATLAB: An array of simulation results can be represented as a matrix f(X,Y). The simulations are ...
gatorback's user avatar
1vote
2answers
26views

Basis of plotting

I need some help in clearing out basics of plotting in various plotting packages. Specifically matplotlib, seaborn and plotly. Certain fundamental principles are always same across all packages. Can ...
user3851878's user avatar
0votes
1answer
225views

"Your X and y-axis values aren't playing together nicely" error with simple numeric and datetime data

I'm new to PowerBI. I'm more familiar with Plotly and Spotfire. I'm trying to create what (to me) seems to be an incredibly basic scatter plot with datetime on the x-axis and a decimal on the y-axis. ...
RightmireM's user avatar
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 ...
ssou's user avatar
0votes
1answer
29views

Data tables over an interactive map?

I have the longitude/latitude points of various communities within a Country. I'm interested in having a user be able to hover over a point on the map and be able to read the available data tables on ...
hollowhills's user avatar
0votes
0answers
17views

What's wrong with my retention chart?

Recently, I had been assigned a problem to draw a retention chart from a given JSON data of user sessions over time. Here's the actual problem statement - "Draw a retention chart, which shows the ...
Vishal Kumar's user avatar
1vote
0answers
17views

Plotting related multiple plots sharing an axis but each disjoint from each other

I want to plot related multiple plots sharing an axis but each disjoint from each other, i.e., same x-axis feature and scale but each of the other features has their own separate y-axis region with it'...
Snape's user avatar
0votes
1answer
131views

Is this considered a good visualization of clustered data?

I have used sckit-learn to cluster data using K-means (3 clusters). I have an issue with considering the plot as "readable" since clusters are overlapping (even when encircling them) Any ...
SSSOF's user avatar
0votes
2answers
27views

Unfamiliar aspect on box plot

I am learning python and I am practicing with a project using a dataset. I created a box plot using seaborn's catplot only using the arguments data,x,y,and kind. There is something on the box plot (...
notsimplelogic's user avatar
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 ...
JimBelushi2's user avatar
0votes
1answer
623views

Plot Clustered Data by kmeans with colors for clusters and shapes for external labels

I wrote some Python code that uses the output from a principal component analysis to perform k-means on. The output to my script below is Cluster 1: Data Points: [[ 1.87192346 -1.12568277] [ 1....
Squirtle's user avatar
0votes
1answer
920views

How do I prevent ConfusionMatrixDisplay.from_predictions from showing the plot?

ConfusionMatrixDisplay docs say: It is recommend to use from_estimator or from_predictions ...
Dmitry Minkovsky's user avatar
6votes
4answers
863views

How can I observe my CSV files better? [closed]

I'm running a lot of experiments that give their output as CSV files. An experiment might be running for hours, with a new line being added to the CSV every 10 seconds. Right now I'm opening these CSV ...
Ram Rachum's user avatar

153050per page
close