27 votes
Accepted

make seaborn heatmap bigger

I found out how to increase the size of my plot with the following code... plt.subplots(figsize=(20,15)) sns.heatmap(corr)
redeemefy's user avatar
  • 631
7 votes

What is this type of plot and how to interpret it?

The shaded area likely shows the dark green line plus or minus some error/uncertainty estimate. Common error estimates may be based on the standard deviation, a confidence interval, or the ...
Ben Norris's user avatar
6 votes

Scatter plot for binary class dataset with two features in python

One approach is to plot the data as a scatter plot with a low alpha, so you can see the individual points as well as a rough measure of density. ...
Aditya's user avatar
  • 2,460
5 votes
Accepted

Data Visualization with multiple dimension, and linear separability

You basically need a t-SNE plot, the t-SNE will convert the high dimensional feature vector (several features in your case) to a 2d point and then you can use matplotlib to plot, while plotting you ...
William Scott's user avatar
5 votes

Data Visualization with multiple dimension, and linear separability

When class labels are known, you can use Linear Discriminant Analysis (LDA) for visualization to see whether classes are linearly separable. LDA is similar to PCA but supervised. It tries to project ...
Esmailian's user avatar
  • 9,252
5 votes

What is this type of plot and how to interpret it?

It might be plus or minus one standard deviation. But it could be anything really. Without more context you can't be sure.
Daniel K's user avatar
  • 151
4 votes

make seaborn heatmap bigger

This would also work. plt.figure(figsize=(20,15)) ax=subplot(111) sns.heatmap(corr,ax=ax)
user345394's user avatar
4 votes

Plots with shaded standard deviation

The below piece of code will generate the following Image(your's is Subplotting Three of them, so you will get 3 different axe's and per axes you have to use fill-between) (Kindly ignore the Axis ...
Aditya's user avatar
  • 2,460
4 votes
Accepted

Scatter plot for binary class dataset with two features in python

Found the answer. Thank you @Aditya ...
Nitish's user avatar
  • 91
4 votes
Accepted

Plotting in PySpark?

No, there is no such method, I have found out. The reason is, plotting libraries run on a single machine and expect a rather sample dataset. Data on Spark is distributed among its clusters and hence ...
Osama Dar's user avatar
  • 599
4 votes
Accepted

How to interpret Shapley value plot for a model?

1. 2. not always there are some blue points also. 3. 4. 5. yes 6. it depends on the shap plot you are using, on some them default is to surpress less important features and not even plot them. 7. ...
Noah Weber's user avatar
  • 5,669
4 votes
Accepted

Plotting multiple precision-recall curves in one plot

Try using Matplotlib gca() method in this way you can indicate what axis you want to plot in ...
Multivac's user avatar
  • 2,949
3 votes

Looping problem in python

In your specific case you only have 2 clusters, however this is not necessarily always going to be the case. I would allow for more flexibility. I assume from your sample code that you are following ...
JahKnows's user avatar
  • 8,856
3 votes

Validation curve unlike SKLearn sample

This is exactly your code just with digits data: ...
Kasra Manshaei's user avatar
3 votes

Smooth curve in Bokeh

bokeh library internally uses _glyph_function function to plot, if you take a look at their source code and which takes help ...
Kiritee Gak's user avatar
  • 1,789
3 votes

How to plot clusters in nice a way?

T-SNE is another dimensionality reduction algorithm not mentioned in the article in the other answer. Used for VERY high dimensional data, if you have trained some embeddings for your dataset. ...
Pavel Savine's user avatar
3 votes

How to plot clusters in nice a way?

Several options: Locally Linear Embedding (LLE): This method construct a set of local geometric patches on each of which a data point is reconstructed through the weighted sum of its K nearest ...
Kasra Manshaei's user avatar
3 votes
Accepted

Name of this type of cross variable interaction Plot

Here is python code to make a pretty good match for your picture. ...
G5W's user avatar
  • 303
3 votes
Accepted

How can I get variable values from a plot?

It seems what you are looking for is a function of your data, not of matplotlib. I would think of this as a second derivative problem -- you care about differences ...
Andrew Maurer's user avatar
3 votes

Is my iPython Installation Valid?

It looks fine to me :) the only problem is that your plot (resulting from In [18]) is being displayed on your computer in a separate window somewhere - maybe you ...
n1k31t4's user avatar
  • 14.8k
3 votes

What is this type of plot and how to interpret it?

Without more information it is hard to say for certain, but my best guess is that the shaded region is a confidence interval (say ± 1 standard deviation) around the predicted values which are ...
Derek O's user avatar
  • 354
3 votes
Accepted

What package, software or particular tool produced this bar plot?

This seems to be a bar chart made using Google sheets, see also this chart which was made with Google sheets:
Oxbowerce's user avatar
  • 7,307
3 votes

Plotly, scatter plot: what are the possible options for the dash entry in the line dictionary?

When I put an invalid value to the 'dash' property, plotly shows an error message that list all the admissible values: The 'dash' property is an enumeration that may be specified as: ...
user130819's user avatar
2 votes

How pairplot is constructed? Based on what rule? Why people use it?

Differences: Pairplot If you have m attributes in your dataset, it creates a figure with (m)x(m) subplots. The main-diagonal subplots are the univariate histograms (distributions) for each ...
pcko1's user avatar
  • 3,930
2 votes

Finding similarity between two histogram plots

I'm curious what other people will say, but one option is to use KL-divergence. If your two histograms have the same x-axis, you can divide every column by the total count to convert counts to ...
tom's user avatar
  • 2,238
2 votes

How to plot similarity of two datasets?

Here we have 50000 points, 10000 in each of five categories with associated numerical values....
Aditya's user avatar
  • 2,460
2 votes
Accepted

How to plot similarity of two datasets?

Here is an example of r lattice xyplot using log scale on the x axis and the difference of your two measures ...
Marmite Bomber's user avatar
2 votes
Accepted

Data Visualisation for Dataframe having 3 columns

use matplotlib: ...
AaronDT's user avatar
  • 186
2 votes

Plots with shaded standard deviation

Use the seaborn plotting library for python, specifically seaborn.tsplot: ...
kbrose's user avatar
  • 1,932
2 votes

Gaussian distribution in python without using libraries

You need to sort arr. For example you sort df.Age then apply the function and after plotting you will get a beautiful chart. For example, I used your function and a range from 0 to 99 that is already ...
keiv.fly's user avatar
  • 1,239

Only top scored, non community-wiki answers of a minimum length are eligible