code: def test_neptune():
      neptune_logger = NeptuneLogger(
          api_token="ANONYMOUS",
          project_qualified_name="shared/colab-test-run",
          tags=["livelossplot", "github-actions"],
      )
  
      plotlosses = PlotLosses(outputs=[neptune_logger])
  
      assert neptune_logger.experiment.state == "running"
  
      for i in range(3):
          plotlosses.update(
              {
                  "acc": 1 - np.random.rand() / (i + 2.0),
                  "val_acc": 1 - np.random.rand() / (i + 0.5),
                  "loss": 1.0 / (i + 2.0),
                  "val_loss": 1.0 / (i + 0.5),
              }
          )
          plotlosses.send()
  
      assert neptune_logger.experiment.state == "running"
  
      neptune_logger.close()
  
      # This is not working anymore.
      # assert neptune_logger.experiment.state == 'succeeded'
  
      url = neptune.project._get_experiment_link(
          neptune_logger.experiment
      )
  
      assert len(url) > 0
  
imports: import numpy
  from livelossplot import PlotLosses
  from livelossplot.outputs import NeptuneLogger
  import neptune
label_desc: Use image node_id 1 for calling a global function with example usage: test_neptune() without return types