def METHOD_NAME(G, **kwargs):
	""" 
	hopPlot(G, **kwargs)
	Prints the hop-plot using matplotlib.
	Parameters
	----------
	G : networkit.Graph
		The input graph.
	`**kwargs` : `**kwargs`
		Input parameter currently not used.
	"""
	#hop-plot
	if not have_plt:
		raise MissingDependencyError("matplotlib")
	if G.isDirected():
		cc = components.StronglyConnectedComponents(G)
	else:
		cc = components.ConnectedComponents(G)
	cc.run()
	if cc.numberOfComponents() == 1:
		METHOD_NAME = distance.EffectiveDiameter.METHOD_NAME(G, maxDistance=0, k=64, r=7)
	else:
		METHOD_NAME = {}
	plt.xlabel('distance')
	plt.ylabel('fraction of connected nodes')
	plt.ylim([0,1.02])
	plt.plot(list(METHOD_NAME.keys()), list(METHOD_NAME.values()), **kwargs)
	#plt.show()