human
Can you show me a Python function to get rid of axis points on graphs.
assistant
Here is a Python function to get rid of axis points on graphs

import matplotlib.pyplot as plt

def _remove_axis_points(ax):
    """
    Helper function for get rid of axis points on graph.
    """
    ax.spines['top'].set_visible(False)
    ax.spines['right'].set_visible(False)
    ax.spines['bottom'].set_visible(False)
    ax.spines['left'].set_visible(False)

# Enter the figure
fig = plt.figure()

# Enter the axis
ax = fig.add_subplot(111)

# Calling the function
print((_remove_axis_points(ax)))

#Example Output
# None

#Remember to inspect code for bugs.