<｜begin▁of▁sentence｜>### Instruction:
Given a MultiGraph with edges [('A', 'B'), ('A', 'B'), ('B', 'C')], how can you plot the graph while ensuring that multiple edges between two nodes are hidden in the visualization?
### Response:
import networkx as nx

# Create a MultiGraph with multiple edges
G = nx.MultiGraph()
G.add_edge('A', 'B')
G.add_edge('A', 'B')
G.add_edge('B', 'C')

# Set 'hide_multidiedges' to True in order to hide multiple edges between two nodes when drawing
nx.draw(G, with_labels=True, hide_multidiedges=True)

# Show the plot
import matplotlib.pyplot as plt
plt.show()
<|EOT|>
