original_docstring: Creates a simple 2D plot using markers.
      
docstring: Creates a simple 2D plot using markers.
docstring_tokens: Creates a simple 2D plot using markers .
code: def graph_2d_markers(x: np.ndarray, y: np.ndarray, 
      xaxis_title: str, yaxis_title: str, title: str, 
      dirname: str, filename: str) -> None:
      """Creates a simple 2D plot using markers.
      """
      path = os.path.join(dirname, filename)
  
      fig = go.Figure()
      fig.add_trace(
          go.Scatter(
              x=x,
              y=y,
              mode='markers',
              marker_color=COLORS[0],
              marker_size=10,
          )
      )
      fig.update_layout(
          title_text=title,
          xaxis_title_text=xaxis_title,
          yaxis_title_text=yaxis_title,
          yaxis_scaleanchor = 'x',
          yaxis_scaleratio = 1,
      )
      pio.write_html(fig, path)
code_tokens: def graph_2d_markers ( x : np . ndarray , y : np . ndarray , xaxis_title : str , yaxis_title : str , title : str , dirname : str , filename : str ) -> None : path = os . path . join ( dirname , filename ) fig = go . Figure ( ) fig . add_trace ( go . Scatter ( x = x , y = y , mode = 'markers' , marker_color = COLORS [ 0 ] , marker_size = 10 , ) ) fig . update_layout ( title_text = title , xaxis_title_text = xaxis_title , yaxis_title_text = yaxis_title , yaxis_scaleanchor = 'x' , yaxis_scaleratio = 1 , ) pio . write_html ( fig , path )
short_docstring: Creates a simple 2D plot using markers.
short_docstring_tokens: Creates a simple 2D plot using markers .
comment: """Creates a simple 2D plot using markers.
      """