# app.py
import numpy as np
import pandas as pd
import streamlit as st

st.set_page_config(page_title="12-Month Precip Plot", layout="centered")
st.title("12-Month Precipitation (Random Example)")

rng = np.random.default_rng(42)

months = pd.date_range("2025-01-01", periods=12, freq="MS")
precip_mm = rng.gamma(shape=2.0, scale=20.0, size=12)  # positive-ish values

df = pd.DataFrame({"month": months, "precip_mm": precip_mm}).set_index("month")

st.line_chart(df["precip_mm"])

# st.dataframe(df, use_container_width=True)
