Hi,
I’m using VS Code and I’m trying to test Plotly but when I try to create a simple plot only shows the json data.
CODE
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import chart_studio.plotly as py
import plotly.figure_factory as ff
import seaborn as sns
import plotly
import plotly.graph_objects as go
import plotly.express as px
import cufflinks as cf
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
init_notebook_mode(connected=True)
cf.go_offline()
arr_1= np.random.rand(50,4)
df_1 = pd.DataFrame(arr_1, columns=[‘A’,‘B’,‘C’,‘D’])
print(df_1.head())
df_1.plot()