Questions tagged [scatter-matrix]

30 questions
3
votes
0 answers

Setting axes to logarithmic scale in ScatterMatrix plot in Plotly

If I generate a figure as: fig = px.scatter_matrix(df, dimensions=columns, color=coloring_column) I wonder how can I set the x-axes or y-axes to the logarithmic scale. The fig.update_yaxes(type=scale) method or the keyword log_x is not included in…
adrckul
  • 43
  • 3
2
votes
0 answers

Plotly scatter matrix without all rows

I want to create a scatter plot matrix (matrix of scatter plots of multiple variables to see the correlation between each pair). However, I would like to remove some variables from the rows (but keep them in the columns). With the following code,…
leleogere
  • 908
  • 2
  • 15
2
votes
1 answer

How to rotate the axis labels in plotly scatterplotmatrix?

With plotly express scattermatrix import plotly.express as px df = px.data.iris() fig = px.scatter_matrix(df) fig.show() I would like to rotate the axis-labels (not the tick-labels) of the y-axis, which correspond to the columns in the dataframe,…
Soerendip
  • 7,684
  • 15
  • 61
  • 128
2
votes
2 answers

pandas.scatter_matrix is returning the error: The rowNum attribute was deprecated in Matplotlib 3.2 and will be removed two minor releases later

I am trying to sketch a feature pairwise plot using pandas.plotting , scatter_matrix function but I get the following error that I cant understand the meaning or what I should do to fix it: from matplotlib import cm from pandas.plotting…
moti
  • 21
  • 1
  • 2
2
votes
2 answers

How to fix overly long axis label in Pandas Scatter_matrix?

This is the part of Pandas scatter_matrix. Why the only one label (0.60000000....) is so long? How can I fix it? This is part of my code: from pandas.plotting import scatter_matrix attributes = ["Chance of Admit ", "CGPA", "GRE Score", "TOEFL…
Yim June
  • 35
  • 3
1
vote
1 answer

Matplotlib plotsize- Size not changing

The size of the of this plot is coming out to be
plt.figure(figsize =(12,6)) pd.plotting.scatter_matrix(Effect_Wf_f) plt.show() Why is it not changing? -- despite writing before the plotting code. Is…
Rupneet
  • 27
  • 5
1
vote
1 answer

Purpose of s and cmap argument in scatter_matrix in python

Exploratory Data Analysis #create df from data in X_train #label columns using str in iris_dataset.feature_names iris_dataframe = pd.DataFrame(X_train, columns=iris_dataset.feature_names) #create scatter matrix from df, color by y_train …
1
vote
1 answer

Unexpected distribution of columns when using using MPI_Scatter with MPI_Type_vector

I am trying to divide columns of a 2D matrix among N process with MPI. For template I used the example on MPI_Scatter - sending columns of 2D array. My code: //HEADERS char** board_initialize(int n, int m) { int k, l; char*…
user4952634
1
vote
1 answer

What do the main diagonal plots mean in scatter_matrix from pandas.plotting?

I am a bit confused about how scatter_matrix in the pandas.plotting module works. e.g., see the plot below from https://www.geeksforgeeks.org/pair-plots-using-scatter-matrix-in-pandas/ The 3 plots along the main diagonal looks like distributions.…
student010101
  • 191
  • 2
  • 8
1
vote
0 answers

Histogram bins cut off along x-axis when using diag.panel argument in pairs() function

I am trying to create a scatter plot matrix following the cookbook recipe found at https://r-graphics.org/recipe-scatter-splom. However, 3 of the 4 histograms are cut off either on the left, right, or both sides of the x-axis. How do I prevent this…
E. Moore
  • 321
  • 1
  • 5
  • 11
1
vote
0 answers

Using seaborn in apache spark

Using pandas and seaborn on a csv dataframe with 50 million cases to make some scatter matrix I noticed that the process times are really long, for convenience I made df.sample() on a part of the data and this reduced the process time. Considering…
vins_26
  • 197
  • 10
1
vote
1 answer

Add regression line in the scatter matrix of pandas

I've found a lot of news on this subject, but no one has made my case. I have a quite large dataframe where I would like to add the regression line and on the opposite side of the grid put only the correlation coefficient in the empty…
vins_26
  • 197
  • 10
1
vote
0 answers

Scatter matrix plotting in Python using pandas library

Could you please let me know what is wrong with the code- import pandas as pd import numpy as np url = "https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data" # load dataset into Pandas DataFrame df = pd.read_csv(url,…
user3862410
  • 171
  • 1
  • 6
0
votes
0 answers

DateParseError: Unknown datetime string format, unable to parse: expirationDate, at position 10

Parse Error Expiration Date is already in datetime format, yet it is complaining. For some reason dateitme column appears as object as opposed to datetime when df.info() is used which is very puzzling to say the least. result of df.info() Any…
vivek777
  • 1
  • 1
0
votes
0 answers

Customizing Splom plot on Plotly GO

I have been trying to make a scatterplot matrix using plotly go function splom with moderate success (can't show the actual plot, sorry), but I would like to modify 2 things: -Axis are automatically and independently scaled to the values of each…
1
2