code: def test_return_nx_multigraph(self):
      # only testing that return_nx_multigraph produces no errors
      #     work in progress!
  
      pytest.importorskip("networkx")
      pytest.importorskip("pandas", minversion="0.17.0")
  
      # input: features, relations, dropna
      self.g.return_nx_multigraph(False, False, True)
      self.g.return_nx_multigraph(False, True, False)
      self.g.return_nx_multigraph(False, True, True)
      self.g.return_nx_multigraph(True, False, True)
      self.g.return_nx_multigraph("color", "dx", True)
      self.g.return_nx_multigraph(["color"], ["dx", "dt"], True)
      self.g_si.return_nx_multigraph(["color"], ["dx", "dt"], True)
  
      # test dropna
      nxg = self.g.return_nx_multigraph(["color"], ["dx", "dt"], False)
      assert nxg.number_of_edges() == 14
  
      nxg = self.g.return_nx_multigraph(["color"], ["dx", "dt"], True)
      assert nxg.number_of_edges() == 8
  
imports: import pytest
  import numpy
  import pandas
  from pandas.testing import assert_frame_equal
  from numpy.testing import assert_allclose
  from deepgraph import DeepGraph
label_desc: Use image node_id 3 for calling the TestInterfaces obj's underlying member method code with example usage: obj.test_return_nx_multigraph() without return types