Article Outline
Python matplotlib example 'versiones'
Modules used in program:
import matplotlib.pylab as plt
import numpy as num
import pandas as pd
import scipy as sp
python versiones
Python matplotlib example: versiones
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import scipy as sp
import pandas as pd
import numpy as num
import matplotlib.pylab as plt
##Ver version instalada
print("Scipy:",sp.version.version)
print("Scipy:",sp.__version__)
print("NumPy:",num.__version__)
print("Pandas:",pd.__version__)
print("Matplotlib:",plt.__version__)
#print("Versiones instaladas:",pd.show_versions())
#t = sp.linspace(0, 1, 100)
#plt.plot(t, t**2)
#plt.show()
Python links
- Learn Python: https://pythonbasics.org/
- Python Tutorial: https://pythonprogramminglanguage.com