I am doing a bubble plot with plotly/cufflinks in offline mode.
Plotly version: 5.1.0
Cufflinks version: 0.17.3
I have a DataFrame with 4 columns A,B,C,D and some random normally distributed data (100 rows in total).
Most of the bubbles are black but a few seem to have other colors by default?! What are these colors which I never asked for? Why some bubbles have colors and some don't?
df = pd.DataFrame(np.random.randn(100, 4), columns='A B C D'.split())
df.iplot(kind='bubble', x='A', y='B', size='C')
I looked at the doc page here but I don't find anything useful.
https://plotly.com/python/bubble-charts/
Here are debugging details, this is my full code:
%matplotlib inline
import numpy as np
import pandas as pd
import plotly as py
import cufflinks as cf
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
init_notebook_mode(connected = True)
cf.go_offline()
df = pd.DataFrame(np.random.randn(100, 4), columns='A B C D'.split())
df.iplot(kind='bubble', x='A', y='B', size='C')
Any ideas?