miércoles, 2 de octubre de 2024

Histograma_notebook GOOGLE COLAB O JUPYTER LABS_ON LINE AMBOS, ESCOGER PYTHON (PYODIDE)

# Importar bibliotecas necesarias

import numpy as np

import matplotlib.pyplot as plt


# Crear datos de ejemplo

data = np.random.randn(1000)


# Crear un histograma

plt.figure(figsize=(10, 6))

plt.hist(data, bins=30, alpha=0.7, color='blue', edgecolor='black')

plt.title('Histograma de datos aleatorios')

plt.xlabel('Valor')

plt.ylabel('Frecuencia')

plt.grid(axis='y', alpha=0.75)

plt.show()



https://learnpython.org/ walter tan bueno como w3schools

 T an bueno como w3schools   https://learnpython.org/  apuntes python 3 con ejercicios  Walter En w3schools hay  html y css también, muy bue...