Scatter ( x =, x_data ], y =, y_data ], mode = 'markers', marker = dict ( color = colors, size = mode_size ) )) fig. Scatter ( x = x_data, y = y_data, mode = 'lines', name = labels, line = dict ( color = colors, width = line_size ), connectgaps = True, )) # endpoints fig. Import aph_objects as go import numpy as np title = 'Main Source for News' labels = colors = mode_size = line_size = x_data = np. update_layout ( title = 'Average High and Low Temperatures in New York', xaxis_title = 'Month', yaxis_title = 'Temperature (degrees F)' ) fig. Scatter ( x = month, y = low_2000, name = 'Low 2000', line = dict ( color = 'royalblue', width = 4, dash = 'dot' ))) # Edit the layout fig. Scatter ( x = month, y = high_2000, name = 'High 2000', line = dict ( color = 'firebrick', width = 4, dash = 'dot' ))) fig. Scatter ( x = month, y = low_2007, name = 'Low 2007', line = dict ( color = 'royalblue', width = 4, dash = 'dash' ))) fig. Scatter ( x = month, y = high_2007, name = 'High 2007', line = dict ( color = 'firebrick', width = 4, dash = 'dash' ) # dash options include 'dash', 'dot', and 'dashdot' )) fig. Scatter ( x = month, y = low_2014, name = 'Low 2014', line = dict ( color = 'royalblue', width = 4 ))) fig. Scatter ( x = month, y = high_2014, name = 'High 2014', line = dict ( color = 'firebrick', width = 4 ))) fig.