from qiskit import *
provider = IBMQ.load_account()
backend = provider.get_backend('ibmq_valencia')
import pprint
pprint.pprint(backend.configuration().coupling_map)

from qiskit.tools.visualization import plot_error_map
plot_error_map(backend)