Superposition of data with plotly.offline

Hi,

I have a problem when it comes to plot graphs with plotly.offline. For example, I have a set of graphs for 10 days, and I want do display them one by one thanks to a slider. Sometimes it works nice, but sometimes I have one or more points of a graph which stays on the following graph.

I have a frame which contains all my 10 graphs, and when I plot them โ€œmanuallyโ€ one by one, there is no problem.

You can see the problem on the following screenshot (the โ€œ99โ€ points at the right down corner has nothing to dohere, it comes from a previous graph)

One more time, when I plot directly this graph, the point doesnโ€™t appear.

If you need, I can show you the (very long) code of my plots.

Thanks al lot !

Hi @enzodal,

In order to help you we need a reproducible code. If you post it here, please insert it as a code, i.e.
paste it here and select preformatted text, </>, from the menu. So it will be easier to read it.

PART 3 :

day2['data'] = [{'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [2.303907779019465, 3.1585425740221162, None], 'type': 'scatter', 'y': [0.49003644126206686, 0.6292015942986469, None], 'legendgroup': 'group0'}, {'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [-2.3180855103737645, -4.129319811589225, None, -3.0081944273760994, -1.6604484185183175, None, -5.532046115552744, -5.3648488817469975, None, 16.397061794944396, 9.405946105125842, None, -7.789972988038631, -7.628279767401936, None, -7.628279767401936, -5.3648488817469975, None, -4.129319811589225, -5.685767365942732, None, 9.405946105125842, 3.1585425740221162, None, -5.685767365942732, -7.0084452163389415, None], 'type': 'scatter', 'y': [-3.785865971507864, -3.826958083967843, None, 5.990479920428504, 3.290596035752432, None, 1.5776480921104645, -1.0484172319263847, None, 1.791621522117591, 0.4734397217343478, None, 2.005076993407335, -0.1608715024559917, None, -0.1608715024559917, -1.0484172319263847, None, -3.826958083967843, -2.815940837219349, None, 0.4734397217343478, 0.6292015942986469, None, -2.815940837219349, -1.941904558757559, None], 'legendgroup': 'group1'}, {'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [-13.65251890003342, -7.0084452163389415, None], 'type': 'scatter', 'y': [-0.5366254703937012, -1.941904558757559, None], 'legendgroup': 'group2'}, {'hoverinfo': 'none', 'mode': 'lines', 'name': 'tronc', 'showlegend': False, 'type': 'scatter', 'x': [-7.0084452163389415, -5.3648488817469975, None, -5.3648488817469975, -7.0084452163389415, None, -5.3648488817469975, -2.7838669736452717, None, -1.6604484185183175, 2.3770933627003563, None, -1.6604484185183175, -2.7838669736452717, None, -2.7838669736452717, -1.6604484185183175, None, -2.7838669736452717, -5.3648488817469975, None, 2.3770933627003563, -1.6604484185183175, None, 2.3770933627003563, 3.0597899345976414, None, 3.0597899345976414, 2.3770933627003563, None, 3.0597899345976414, 3.1585425740221162, None, 3.1585425740221162, 3.0597899345976414, None], 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'y': [-1.941904558757559, -1.0484172319263847, None, -1.0484172319263847, -1.941904558757559, None, -1.0484172319263847, 0.142437826686574, None, 3.290596035752432, 3.867200779405876, None, 3.290596035752432, 0.142437826686574, None, 0.142437826686574, 3.290596035752432, None, 0.142437826686574, -1.0484172319263847, None, 3.867200779405876, 3.290596035752432, None, 3.867200779405876, 1.3639545351225477, None, 1.3639545351225477, 3.867200779405876, None, 1.3639545351225477, 0.6292015942986469, None, 0.6292015942986469, 1.3639545351225477, None], 'visible': True}, {'marker': {'color': ['rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [3.867200779405876, 1.3639545351225477, 0.6292015942986469, 0.49003644126206686], 'text': [' 3', ' 5', ' 7', ' 9'], 'type': 'scatter', 'name': 'WheatMinneapolis', 'textposition': ['top center', 'top center', 'top center', 'top center'], 'hoverinfo': 'name+text', 'x': [2.3770933627003563, 3.0597899345976414, 3.1585425740221162, 2.303907779019465], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif'], 'color': ['rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)'], 'size': [20, 20, 20, 20]}, 'mode': 'markers+text', 'legendgroup': 'group0'}, {'marker': {'color': ['rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [-3.785865971507864, -2.815940837219349, -1.941904558757559, -1.0484172319263847, -0.1608715024559917, -3.826958083967843, 5.990479920428504, 1.5776480921104645, 1.791621522117591, 3.290596035752432, 0.142437826686574, 2.005076993407335, 0.4734397217343478], 'text': [' 12', ' 15', ' 17', ' 19', ' 21', ' 24', ' 3', ' 31', ' 36', ' 5', ' 7', ' 9', ' 99'], 'type': 'scatter', 'name': 'Corn', 'textposition': ['top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center'], 'hoverinfo': 'name+text', 'x': [-2.3180855103737645, -5.685767365942732, -7.0084452163389415, -5.3648488817469975, -7.628279767401936, -4.129319811589225, -3.0081944273760994, -5.532046115552744, 16.397061794944396, -1.6604484185183175, -2.7838669736452717, -7.789972988038631, 9.405946105125842], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif'], 'color': ['rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)'], 'size': [20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]}, 'mode': 'markers+text', 'legendgroup': 'group1'}, {'marker': {'color': ['rgb(132, 0, 0)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [-0.5366254703937012], 'text': [' 99'], 'type': 'scatter', 'name': 'EURCAD', 'textposition': ['top center'], 'hoverinfo': 'name+text', 'x': [-13.65251890003342], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif'], 'color': ['rgb(132, 0, 0)'], 'size': [20]}, 'mode': 'markers+text', 'legendgroup': 'group2'}]

day3['data'] = [{'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [2.315085401554362, 3.1730105263531447, None], 'type': 'scatter', 'y': [0.5775654318286991, 0.7188034493627415, None], 'legendgroup': 'group0'}, {'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [-2.3216162852878672, -4.121620228126909, None, -3.0310823815696004, -1.698423402224937, None, -5.5207345722944225, -5.365175947331774, None, 16.412171555206506, 9.421275900858586, None, -7.768875033685475, -7.610295318229711, None, -7.610295318229711, -5.365175947331774, None, -4.121620228126909, -5.681478317669512, None, 9.421275900858586, 3.1730105263531447, None, -5.681478317669512, -7.0069672571031525, None], 'type': 'scatter', 'y': [-3.796094853269117, -3.8420957936536957, None, 5.985277367223661, 3.2590465685427157, None, 1.5491795954510765, -1.0800511127617145, None, 1.8263294669376564, 0.5623296430016946, None, 1.9811503045153644, -0.15278205301643277, None, -0.15278205301643277, -1.0800511127617145, None, -3.8420957936536957, -2.843185758761363, None, 0.5623296430016946, 0.7188034493627415, None, -2.843185758761363, -1.9745877391084294, None], 'legendgroup': 'group1'}, {'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [-13.660975998982575, -7.0069672571031525, None], 'type': 'scatter', 'y': [-0.6237278224279685, -1.9745877391084294, None], 'legendgroup': 'group2'}, {'hoverinfo': 'none', 'mode': 'lines', 'name': 'tronc', 'showlegend': False, 'type': 'scatter', 'x': [-7.0069672571031525, -5.365175947331774, None, -5.365175947331774, -7.0069672571031525, None, -5.365175947331774, -2.7900600000010822, None, -1.698423402224937, 2.3407146998564397, None, -1.698423402224937, -2.7900600000010822, None, -2.7900600000010822, -1.698423402224937, None, -2.7900600000010822, -5.365175947331774, None, 2.3407146998564397, -1.698423402224937, None, 2.3407146998564397, 3.072121780986915, None, 3.072121780986915, 2.3407146998564397, None, 3.072121780986915, 3.1730105263531447, None, 3.1730105263531447, 3.072121780986915, None], 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'y': [-1.9745877391084294, -1.0800511127617145, None, -1.0800511127617145, -1.9745877391084294, None, -1.0800511127617145, 0.09549778572022216, None, 3.2590465685427157, 3.9476727250017376, None, 3.2590465685427157, 0.09549778572022216, None, 0.09549778572022216, 3.2590465685427157, None, 0.09549778572022216, -1.0800511127617145, None, 3.9476727250017376, 3.2590465685427157, None, 3.9476727250017376, 1.4539116865613035, None, 1.4539116865613035, 3.9476727250017376, None, 1.4539116865613035, 0.7188034493627415, None, 0.7188034493627415, 1.4539116865613035, None], 'visible': True}, {'marker': {'color': ['rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [3.9476727250017376, 1.4539116865613035, 0.7188034493627415, 0.5775654318286991], 'text': [' 3', ' 5', ' 7', ' 9'], 'type': 'scatter', 'name': 'WheatMinneapolis', 'textposition': ['top center', 'top center', 'top center', 'top center'], 'hoverinfo': 'name+text', 'x': [2.3407146998564397, 3.072121780986915, 3.1730105263531447, 2.315085401554362], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif'], 'color': ['rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)'], 'size': [20, 20, 20, 20]}, 'mode': 'markers+text', 'legendgroup': 'group0'}, {'marker': {'color': ['rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [-3.796094853269117, -2.843185758761363, -1.9745877391084294, -1.0800511127617145, -0.15278205301643277, -3.8420957936536957, 5.985277367223661, 1.5491795954510765, 1.8263294669376564, 3.2590465685427157, 0.09549778572022216, 1.9811503045153644, 0.5623296430016946], 'text': [' 12', ' 15', ' 17', ' 19', ' 21', ' 24', ' 3', ' 31', ' 36', ' 5', ' 7', ' 9', ' 99'], 'type': 'scatter', 'name': 'Corn', 'textposition': ['top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center'], 'hoverinfo': 'name+text', 'x': [-2.3216162852878672, -5.681478317669512, -7.0069672571031525, -5.365175947331774, -7.610295318229711, -4.121620228126909, -3.0310823815696004, -5.5207345722944225, 16.412171555206506, -1.698423402224937, -2.7900600000010822, -7.768875033685475, 9.421275900858586], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif'], 'color': ['rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)'], 'size': [20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]}, 'mode': 'markers+text', 'legendgroup': 'group1'}, {'marker': {'color': ['rgb(132, 0, 0)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [-0.6237278224279685], 'text': [' 99'], 'type': 'scatter', 'name': 'EURCAD', 'textposition': ['top center'], 'hoverinfo': 'name+text', 'x': [-13.660975998982575], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif'], 'color': ['rgb(132, 0, 0)'], 'size': [20]}, 'mode': 'markers+text', 'legendgroup': 'group2'}]

day4['data'] = [{'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [6.645182129484442, 5.7887406001296275, None], 'type': 'scatter', 'y': [6.547814229480201, 6.4002758991243915, None], 'legendgroup': 'group0'}, {'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [8.929761439579847, 7.437902809246397, None, 2.023583177168822, 4.971995226641573, None, 11.445756927124082, 8.964122944710299, None, -7.246955796005586, -0.31822526397195716, None, 9.542189022138393, 8.964122944710299, None, 11.82456669295941, 9.96646873444315, None, 7.437902809246397, 6.45926918159261, None, 9.96646873444315, 8.964122944710299, None, -0.31822526397195716, 5.7887406001296275, None, 6.45926918159261, 7.978867178398846, None, 8.964122944710299, 7.978867178398846, None], 'type': 'scatter', 'y': [-1.7601980884628134, -2.4362628225815186, None, 0.27120935050656914, 0.9838469249997872, None, 2.1973005476902747, 1.1689363082856277, None, 9.316460423771975, 7.731405596330102, None, 3.871509133346751, 1.1689363082856277, None, -0.4202020299573985, -1.1054410163358757, None, -2.4362628225815186, -0.9401199893381185, None, -1.1054410163358757, 1.1689363082856277, None, 7.731405596330102, 6.4002758991243915, None, -0.9401199893381185, -0.4678968749750394, None, 1.1689363082856277, -0.4678968749750394, None], 'legendgroup': 'group1'}, {'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [11.934648967271713, 7.978867178398846, None], 'type': 'scatter', 'y': [-5.984235630639949, -0.4678968749750394, None], 'legendgroup': 'group2'}, {'hoverinfo': 'none', 'mode': 'lines', 'name': 'tronc', 'showlegend': False, 'type': 'scatter', 'x': [7.978867178398846, 4.971995226641573, None, 4.971995226641573, 7.978867178398846, None, 4.971995226641573, 3.1883934834313967, None, 3.1883934834313967, 4.971995226641573, None, 3.1883934834313967, 5.583504840717343, None, 5.583504840717343, 3.1883934834313967, None, 5.583504840717343, 5.7887406001296275, None, 5.7887406001296275, 5.583504840717343, None], 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'y': [-0.4678968749750394, 0.9838469249997872, None, 0.9838469249997872, -0.4678968749750394, None, 0.9838469249997872, 4.649231251143303, None, 4.649231251143303, 0.9838469249997872, None, 4.649231251143303, 5.708020101941042, None, 5.708020101941042, 4.649231251143303, None, 5.708020101941042, 6.4002758991243915, None, 6.4002758991243915, 5.708020101941042, None], 'visible': True}, {'marker': {'color': ['rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [4.649231251143303, 5.708020101941042, 6.4002758991243915, 6.547814229480201], 'text': [' 3', ' 5', ' 7', ' 9'], 'type': 'scatter', 'name': 'WheatMinneapolis', 'textposition': ['top center', 'top center', 'top center', 'top center'], 'hoverinfo': 'name+text', 'x': [3.1883934834313967, 5.583504840717343, 5.7887406001296275, 6.645182129484442], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif'], 'color': ['rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)'], 'size': [20, 20, 20, 20]}, 'mode': 'markers+text', 'legendgroup': 'group0'}, {'marker': {'color': ['rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [-2.4362628225815186, -0.9401199893381185, -0.4678968749750394, 1.1689363082856277, -1.1054410163358757, -1.7601980884628134, 0.27120935050656914, 2.1973005476902747, 9.316460423771975, 0.9838469249997872, 3.871509133346751, -0.4202020299573985, 7.731405596330102], 'text': [' 12', ' 15', ' 17', ' 19', ' 21', ' 24', ' 3', ' 31', ' 36', ' 5', ' 7', ' 9', ' 99'], 'type': 'scatter', 'name': 'Corn', 'textposition': ['top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center'], 'hoverinfo': 'name+text', 'x': [7.437902809246397, 6.45926918159261, 7.978867178398846, 8.964122944710299, 9.96646873444315, 8.929761439579847, 2.023583177168822, 11.445756927124082, -7.246955796005586, 4.971995226641573, 9.542189022138393, 11.82456669295941, -0.31822526397195716], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif'], 'color': ['rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)'], 'size': [20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]}, 'mode': 'markers+text', 'legendgroup': 'group1'}, {'marker': {'color': ['rgb(132, 0, 0)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [-5.984235630639949], 'text': [' 99'], 'type': 'scatter', 'name': 'EURCAD', 'textposition': ['top center'], 'hoverinfo': 'name+text', 'x': [11.934648967271713], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif'], 'color': ['rgb(132, 0, 0)'], 'size': [20]}, 'mode': 'markers+text', 'legendgroup': 'group2'}] 

day5['data'] = [{'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [-34.62086348342931, -34.44431398829712, None], 'type': 'scatter', 'y': [9.471925668532373, 8.625603751867073, None], 'legendgroup': 'group0'}, {'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [-23.74468181573792, -24.39032525130115, None, -27.848292660890564, -28.7653035581892, None, -25.2928354400189, -26.955258366006326, None, -19.268456873868914, -21.674540100400993, None, -29.50300267456066, -26.955258366006326, None, -29.90336382249908, -27.9460558589007, None, -40.71960163157249, -34.44431398829712, None, -24.39032525130115, -25.46296550424176, None, -27.9460558589007, -26.955258366006326, None, -25.46296550424176, -26.705573330056154, None, -26.955258366006326, -26.705573330056154, None], 'type': 'scatter', 'y': [11.646725602651545, 13.11113395773742, None, 5.2064892670396095, 8.119946958191527, None, 14.689607950421117, 12.607381788363472, None, -0.4594369211126015, 6.221886507997345, None, 11.5848705391322, 12.607381788363472, None, 14.859863825377085, 14.88233265899737, None, 8.988183817917701, 8.625603751867073, None, 13.11113395773742, 11.704530407734001, None, 14.88233265899737, 12.607381788363472, None, 11.704530407734001, 10.717598375793434, None, 12.607381788363472, 10.717598375793434, None], 'legendgroup': 'group1'}, {'hoverinfo': 'none', 'mode': 'lines', 'name': 'tronc', 'showlegend': False, 'type': 'scatter', 'x': [-26.705573330056154, -28.7653035581892, None, -26.705573330056154, -21.674540100400993, None, -28.7653035581892, -26.705573330056154, None, -28.7653035581892, -32.414366509663864, None, -21.674540100400993, -26.705573330056154, None, -32.414366509663864, -28.7653035581892, None, -32.414366509663864, -34.51622590005773, None, -34.51622590005773, -32.414366509663864, None, -34.51622590005773, -34.44431398829712, None, -34.44431398829712, -34.51622590005773, None], 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'y': [10.717598375793434, 8.119946958191527, None, 10.717598375793434, 6.221886507997345, None, 8.119946958191527, 10.717598375793434, None, 8.119946958191527, 6.3128572065401265, None, 6.221886507997345, 10.717598375793434, None, 6.3128572065401265, 8.119946958191527, None, 6.3128572065401265, 7.905096616400051, None, 7.905096616400051, 6.3128572065401265, None, 7.905096616400051, 8.625603751867073, None, 8.625603751867073, 7.905096616400051, None], 'visible': True}, {'marker': {'color': ['rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [6.3128572065401265, 7.905096616400051, 8.625603751867073, 9.471925668532373], 'text': [' 3', ' 5', ' 7', ' 9'], 'type': 'scatter', 'name': 'WheatMinneapolis', 'textposition': ['top center', 'top center', 'top center', 'top center'], 'hoverinfo': 'name+text', 'x': [-32.414366509663864, -34.51622590005773, -34.44431398829712, -34.62086348342931], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif'], 'color': ['rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)'], 'size': [20, 20, 20, 20]}, 'mode': 'markers+text', 'legendgroup': 'group0'}, {'marker': {'color': ['rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [13.11113395773742, 11.704530407734001, 10.717598375793434, 12.607381788363472, 14.88233265899737, 11.646725602651545, 5.2064892670396095, 14.689607950421117, -0.4594369211126015, 8.119946958191527, 11.5848705391322, 14.859863825377085, 8.988183817917701], 'text': [' 12', ' 15', ' 17', ' 19', ' 21', ' 24', ' 3', ' 31', ' 36', ' 5', ' 7', ' 9', ' 99'], 'type': 'scatter', 'name': 'Corn', 'textposition': ['top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center'], 'hoverinfo': 'name+text', 'x': [-24.39032525130115, -25.46296550424176, -26.705573330056154, -26.955258366006326, -27.9460558589007, -23.74468181573792, -27.848292660890564, -25.2928354400189, -19.268456873868914, -28.7653035581892, -29.50300267456066, -29.90336382249908, -40.71960163157249], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif'], 'color': ['rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)'], 'size': [20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]}, 'mode': 'markers+text', 'legendgroup': 'group1'}, {'marker': {'color': ['rgb(132, 0, 0)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [6.221886507997345], 'text': [' 99'], 'type': 'scatter', 'name': 'EURCAD', 'textposition': ['top center'], 'hoverinfo': 'name+text', 'x': [-21.674540100400993], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif'], 'color': ['rgb(132, 0, 0)'], 'size': [20]}, 'mode': 'markers+text', 'legendgroup': 'group2'}] 

day6['data'] = [{'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [8.168826846090065, 7.789127165502958, None, 7.789127165502958, 7.0800284029261205, None], 'type': 'scatter', 'y': [-1.457130893521888, -2.241824259424794, None, -2.241824259424794, -2.4269158444428873, None], 'legendgroup': 'group0'}, {'hoverinfo': 'none', 'mode': 'lines', 'showlegend': False, 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'x': [2.0621981921078665, 0.9911506558193057, None, -1.0142019606257469, 2.005510399160064, None, 5.1959256272143906, 4.058285016042747, None, -6.186986425133158, 0.8573051240573957, None, 3.664827190209624, 4.058285016042747, None, 7.687839279884278, 6.452388721219606, None, 3.819144004247347, 7.0800284029261205, None, 0.9911506558193057, 0.7938093911970898, None, 6.452388721219606, 4.058285016042747, None, 0.7938093911970898, 2.2636356100897164, None, 4.058285016042747, 2.2636356100897164, None], 'type': 'scatter', 'y': [1.7060792478502531, 2.9039255916901805, None, 1.500838243911951, 1.9476693185319123, None, 3.467923964463086, 5.879406675594918, None, 12.063921545914596, 11.886759392339217, None, 8.601946750053905, 5.879406675594918, None, 4.972305963906653, 6.494192488626334, None, -7.726529083747548, -2.4269158444428873, None, 2.9039255916901805, 4.660783029177377, None, 6.494192488626334, 5.879406675594918, None, 4.660783029177377, 5.2529527843360215, None, 5.879406675594918, 5.2529527843360215, None], 'legendgroup': 'group1'}, {'hoverinfo': 'none', 'mode': 'lines', 'name': 'tronc', 'showlegend': False, 'type': 'scatter', 'x': [2.2636356100897164, 2.005510399160064, None, 2.2636356100897164, 0.8573051240573957, None, 2.005510399160064, 2.2636356100897164, None, 2.005510399160064, 5.1105926594556745, None, 0.8573051240573957, 2.2636356100897164, None, 5.1105926594556745, 2.005510399160064, None, 5.1105926594556745, 7.0800284029261205, None, 7.0800284029261205, 5.1105926594556745, None], 'line': {'width': 2, 'color': 'rgb(125,125,125)'}, 'y': [5.2529527843360215, 1.9476693185319123, None, 5.2529527843360215, 11.886759392339217, None, 1.9476693185319123, 5.2529527843360215, None, 1.9476693185319123, -0.6289715088061243, None, 11.886759392339217, 5.2529527843360215, None, -0.6289715088061243, 1.9476693185319123, None, -0.6289715088061243, -2.4269158444428873, None, -2.4269158444428873, -0.6289715088061243, None], 'visible': True}, {'marker': {'color': ['rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [-0.6289715088061243, -2.4269158444428873, -2.241824259424794, -1.457130893521888], 'text': [' 3', ' 5', ' 7', ' 9'], 'type': 'scatter', 'name': 'WheatMinneapolis', 'textposition': ['top center', 'top center', 'top center', 'top center'], 'hoverinfo': 'name+text', 'x': [5.1105926594556745, 7.0800284029261205, 7.789127165502958, 8.168826846090065], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif'], 'color': ['rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)', 'rgb(0, 0, 127)'], 'size': [20, 20, 20, 20]}, 'mode': 'markers+text', 'legendgroup': 'group0'}, {'marker': {'color': ['rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [2.9039255916901805, 4.660783029177377, 5.2529527843360215, 5.879406675594918, 6.494192488626334, 1.7060792478502531, 1.500838243911951, 3.467923964463086, 12.063921545914596, 1.9476693185319123, 8.601946750053905, 4.972305963906653, -7.726529083747548], 'text': [' 12', ' 15', ' 17', ' 19', ' 21', ' 24', ' 3', ' 31', ' 36', ' 5', ' 7', ' 9', ' 99'], 'type': 'scatter', 'name': 'Corn', 'textposition': ['top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center', 'top center'], 'hoverinfo': 'name+text', 'x': [0.9911506558193057, 0.7938093911970898, 2.2636356100897164, 4.058285016042747, 6.452388721219606, 2.0621981921078665, -1.0142019606257469, 5.1959256272143906, -6.186986425133158, 2.005510399160064, 3.664827190209624, 7.687839279884278, 3.819144004247347], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif', 'Balto, sans-serif'], 'color': ['rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)', 'rgb(118, 255, 128)'], 'size': [20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]}, 'mode': 'markers+text', 'legendgroup': 'group1'}, {'marker': {'color': ['rgb(132, 0, 0)'], 'opacity': 0.9, 'line': {'width': 0.5, 'color': 'black'}, 'size': 15, 'symbol': 'dot'}, 'y': [11.886759392339217], 'text': [' 99'], 'type': 'scatter', 'name': 'EURCAD', 'textposition': ['top center'], 'hoverinfo': 'name+text', 'x': [0.8573051240573957], 'opacity': 1, 'textfont': {'family': ['Balto, sans-serif'], 'color': ['rgb(132, 0, 0)'], 'size': [20]}, 'mode': 'markers+text', 'legendgroup': 'group2'}]