how to show the matplotlib graph in html code example
Example 1: mpld3 tutorial
########################
#Import dependencies
########################
import pandas as pd
import matplotlib.pyplot as plt
import mpld3
Example 2: mpld3 tutorial
html_str = mpld3.fig_to_html(fig)
Html_file= open("index.html","w")
Html_file.write(html_str)
Html_file.close()