<｜begin▁of▁sentence｜>### Instruction:
Given an adjacency matrix of an Erdős–Rényi graph with 5 nodes, can you use the Matrix.max method to find the global maximum value in the matrix?
### Response:
import igraph as ig
import numpy as np

# Create a graph
g = ig.Graph.Erdos_Renyi(n=5, p=0.6)

# Get the adjacency matrix as an igraph Matrix
adj_matrix = g.get_adjacency().data

# Convert to np.matrix
matrix = np.matrix(adj_matrix)

# Use the Matrix.max method to get the global maximum of the matrix
max_value = matrix.max()

print(f'Global maximum value in the matrix is: {max_value}')
<|EOT|>
