code: def main():
      api_token = os.environ.get("NEPTUNE_API_TOKEN")
      project_qualified_name = os.environ.get("NEPTUNE_PROJECT_NAME")
      logger = NeptuneLogger(
          api_token=api_token,
          project_qualified_name=project_qualified_name,
      )
      liveplot = PlotLosses(outputs=[logger])
      for i in range(20):
          liveplot.update(
              {
                  "accuracy": 1 - np.random.rand() / (i + 2.0),
                  "val_accuracy": 1 - np.random.rand() / (i + 0.5),
                  "mse": 1.0 / (i + 2.0),
                  "val_mse": 1.0 / (i + 0.5),
              }
          )
          liveplot.send()
          sleep(0.5)
  
imports: import os
  from time import sleep
  import numpy
  from livelossplot.outputs import NeptuneLogger
  from livelossplot import PlotLosses
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types