How to visualize a graph in DGL's dataset?

From the docs, there is a snippet of code to get data from built-in datasets. How can I visualize the graph in the data? I want to plot a graph.

import dgl
import torch
import torch.nn as nn
import torch.nn.functional as F
import dgl.data
dataset = dgl.data.CoraGraphDataset()
g = dataset[0]

You can convert it to a NetworkX graph with dgl.to_networkx and plot with NetworkX API.