Add new features and updates to dibujar.py and pygwalker_visualizaciones.py

- Introduced a new markdown cell in dibujar.py to enhance user guidance for drawing with the mouse.
- Updated the version in pygwalker_visualizaciones.py from 0.15.1 to 0.15.2.
- Added a new markdown cell in pygwalker_visualizaciones.py for interactive EDA with PyGWalker.
- Refactored return values in pygwalker_visualizaciones.py to streamline data handling.
- Modified Graficos_plotly.grid.json to include additional layout positions.
This commit is contained in:
2025-09-08 03:02:01 +02:00
parent 2e7c80bae8
commit 527d9dfa00
11 changed files with 227 additions and 68 deletions
+13 -7
View File
@@ -1,17 +1,28 @@
import marimo
__generated_with = "0.15.1"
__generated_with = "0.15.2"
app = marimo.App(width="columns")
@app.cell(column=0)
def _():
import marimo as mo
return (mo,)
@app.cell
def _(mo):
mo.md(r"""# Altair: graficos interactivos""")
return
@app.cell
def _():
from vega_datasets import data
import altair as alt
import pandas as pd
import pyarrow
return alt, data, mo, pd
return alt, data, pd
@app.cell
@@ -64,7 +75,6 @@ def _(alt, mo, pd):
bar_chart1 = mo.ui.altair_chart(_bar_chart1)
bar_chart1
return bar_chart1, dataset
@@ -123,7 +133,6 @@ def _(alt, data, mo):
weather_chart2 = mo.ui.altair_chart(layered_chart2)
weather_chart2
return dataset_weather2, weather_chart2
@@ -197,7 +206,6 @@ def _(alt, data, mo):
movies_chart3 = mo.ui.altair_chart(layered_movies3)
movies_chart3
return
@@ -237,7 +245,6 @@ def _(alt, data, mo):
movies_rect4 = mo.ui.altair_chart(rect4.add_params(pts4))
movies_rect4
return dataset_movies4, pts4, x1, y1
@@ -257,7 +264,6 @@ def _(alt, dataset_movies4, mo, pts4, x1, y1):
movies_circ4 = mo.ui.altair_chart(circ4)
movies_circ4
return