Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spurious points in radial chart #2023

Closed
FabienDaniel opened this issue Sep 20, 2017 · 2 comments
Closed

Spurious points in radial chart #2023

FabienDaniel opened this issue Sep 20, 2017 · 2 comments
Labels
bug something broken
Milestone

Comments

@FabienDaniel
Copy link

Hi,

I try to set up a radar chart and a few spurious points appear. I was not sure, if this was a bug or a bad use and posted that issue on stackoverflow


import plotly.offline as pyo
pyo.init_notebook_mode()
from plotly.graph_objs import *
import plotly.graph_objs as go

tr1 = (go.Scatter(r      = [6, 7],
                  t      = [120, 125],
                  mode   = 'markers',
                  name   = 'Drama',
                  text   = ['text_1', 'text_2'],
                  marker = dict(color = 'royalblue', size=110,
                                       line=dict(color='white'), opacity=0.7),
                  hoverinfo = 'all'
                  )) 
layout = go.Layout(
    title='Test Case',
    font=dict(
        size=15
    ),
    plot_bgcolor='rgb(223, 223, 223)',
    angularaxis=dict(        
        tickcolor='rgb(253,253,253)'
    ),
    hovermode='Closest',
)
fig = go.Figure(data = [tr1], layout=layout)
pyo.iplot(fig)

My main issue is that two points appear at coordinates: (t,r) = (3,12) and (4,13). Also, I want that 'text_1' and 'text_2' appear on hover but currently, only the points coordinates are shown.

The plot is visible on this Kaggle page.

Thanks for the help !

@etpinard
Copy link
Contributor

Looks like a bug.

@etpinard etpinard added the bug something broken label Sep 20, 2017
@etpinard etpinard added this to the On-par polar milestone Sep 20, 2017
@etpinard
Copy link
Contributor

fixed in scatterpolar after #2200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

2 participants