✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Can't figure it out

This is probably a very simple issue but I can’t for the life of me figure it out.
For a bubble chart I have years on the X-axis and a score between -1 and +1 on the y-axis.
I got the bubble chart to show data points only when I have 1 year with 2 points on the x-axis as shown here: https://plot.ly/~leonbakker/8/the-polarity-of-songs-of-good-and-bad-disney-characters-over-the-years/

However, when I have a list with multiple years it doesn’t show any of the data points as shown here: https://plot.ly/~leonbakker/6/the-polarity-of-songs-of-good-and-bad-disney-characters-over-the-years/
See below is the code for the 2 traces:

trace_hero = go.Scatter(
        x=[list_years],
        y=[list_compound_heroes],
        mode='markers',
        text = "",
        marker=dict(
            symbol='circle',
            sizemode='area',
            sizeref=1,
            line=dict(
                width=2
            ),
        )
    )

trace_villain = go.Scatter(
    x=[list_years],
    y=[list_compound_villains],
    mode='markers',
    text = "",
    marker=dict(
        symbol='circle',
        sizemode='area',
        sizeref=1,
        line=dict(
            width=2
        ),
    )
)

For the first graph with only 1 year, list_years = [1937], list_compound_heroes = [0.992] and list_compound_villains = [-0.945].
For the second graph (where it doesn’t show any data points): list_years = [‘1937’, ‘1959’, ‘1961’, ‘1967’, ‘1970’, ‘1973’, ‘1998’, ‘1999’, ‘2000’, ‘2003’, ‘2009’, ‘1940’, ‘2010’, ‘2013’, ‘1941’, ‘1991’, ‘1992’, ‘1981’, ‘1951’, ‘1953’]
list_compound_heroes = [0.9246, 0.9818, 0.6369, 0.2695, 0.9403, 0.2023, -0.5682, 0.9461, 0.9665, 0.99, 0.0898, 0.9726, 0.9597, -0.0387, 0.9776, 0.992, 0.9577, 0.9952, 0.9943, 0.9973]
list_compound_villains= [-0.9429, 0.9786, -0.927, 0.9961, 0.9848, 0.0, -0.8234, 0.9885, -0.8832, 0.8199, 0.9963, 0.9311, 0.988, 0.9859, -0.9729, 0.9943, 0.0, 0.3553, 0.8393, -0.9561]

Is there any reason why it won’t show these data points?

Thanks in Advance

EDIT: fixed