#!/usr/bin/env python # coding: utf-8 # In[3]: from plotly.offline import download_plotlyjs, init_notebook_mode, iplot, plot init_notebook_mode(connected=True) # In[4]: import plotly.figure_factory as ff import numpy as np import pandas as pd numVectors = 100 mean = np.array([1, 2, 1]) cov = np.array([[4, .8, -.3], [0.8, 2, .6], [-.3, .6, 5]]) gen_vec = np.random.multivariate_normal(mean, cov, numVectors) df = pd.DataFrame(gen_vec, columns=['x_1', 'x_2', 'x_3']) fig = ff.create_scatterplotmatrix(df, height=800, width=800, ) iplot(fig) # In[ ]: