🍰
Grasshopper ES por BetweenRealities
  • Using and Generating Documentation
    • GitHub
    • Discord
      • Speckle Webhooks
    • Speckle Client
  • Potencial technological implementations
  • 🧞Compute
    • Introducción a Grasshopper
      • Customizar Entorno
        • VSCode
      • Rhinoceros 3d
      • Hops
      • Galapagos
    • Modelos Informados
      • Comportamiento Estructural
        • Automatizar cálculo Python
      • OOP
      • Rhino Inside Revit
        • Revit
          • Modelado 3d en Revit
          • Certificación profesional Revit
      • Energía
    • Procesos Urbanos
      • Automatizar Qgis
      • Librerías Python
      • Librerías Grasshopper
      • Stable Diffusion
    • Programación
      • RhinoPython
        • Anatomía del script
        • Python básico
        • Tuples, listas y diccionarios
        • Operadores y funciones
        • Ejecución condicional
        • Geometría
        • Clases
      • Multithread
  • 🪅Database
    • Lenguaje Python
      • Types and operations
      • Statements and syntax
      • Function and generators
      • Modules and packages
      • Classes and OPP
      • Exception and tools
      • Advance topics
    • Análisis de la Información
      • Comparison with SQL
      • Comparison with R / R libraries
      • Pandas
    • Abrir Acceso
      • Rest API Abierta
    • Blockchain Descentralización
  • 🕸️COLLECT
    • Captura de Datos
      • Raspberry Pi
        • Encendido y apagado automático
      • Arduino
      • UAS
      • Fotogrametría
        • Crashes
    • Técnicas Machine Learning
      • Clasificación
      • Computer Vision
    • Computación en la Nube
      • Contenedores
      • Azure
      • Ubuntu Server Deploy
      • PostgreSQL Server
      • Rhino Compute Deploy
  • 🍭INTERACT
    • Introducción a Unreal Engine
      • Ejecutar Python
      • Datasmith
      • Materiales
        • Crear PBR
        • Materiales Introducción
      • Iluminación
        • Iluminación Introducción
        • Raytraced Iluminación Cinemática
      • Assets Management
    • Interacción Inmersiva
      • Blueprints
        • Blueprints estandar
        • Blueprints Introducción
        • Diseño Nivel
      • Packaging
      • Performance
    • Interfaces Bidimensionales
Con tecnología de GitBook
En esta página
  • ¿Que es Dash de Plotly para Python?
  • Ejemplo básico de Dash

¿Te fue útil?

  1. INTERACT

Interfaces Bidimensionales

¿Que es Dash de Plotly para Python?

Dash is a Python framework for building analytical web applications. It is developed and maintained by the company Plotly, and is built on top of the popular Python libraries Flask, Plotly.py, and React.

Dash allows users to create interactive, data-driven web applications using Python. It provides a simple and intuitive interface for building user interfaces with components such as charts, graphs, and tables, and for connecting these components to data sources and backend services.

Dash applications are built using Python code, which makes them easy to develop, maintain, and deploy. They are also highly customizable, and can be extended and integrated with other tools and services using the rich ecosystem of Python libraries and frameworks.

Overall, Dash is a powerful and flexible framework for building analytical web applications using Python. It provides a simple and intuitive interface for creating interactive, data-driven applications, and is widely used in a variety of industries and applications.

Ejemplo básico de Dash

// Some code
import dash
import dash_core_components as dcc
import dash_html_components as html

app = dash.Dash()

app.layout = html.Div([
    dcc.Graph(
        id='scatter-plot',
        figure={
            'data': [
                {
                    'x': [1, 2, 3, 4, 5],
                    'y': [1, 2, 3, 4, 5],
                    'type': 'scatter',
                    'mode': 'markers'
                }
            ],
            'layout': {
                'title': 'Scatter Plot'
            }
        }
    )
])

if __name__ == '__main__':
    app.run_server()

This code creates a new Dash application, and defines its layout using the html.Div and dcc.Graph components. The html.Div component is used to create a container for the application, and the dcc.Graph component is used to create a scatter plot using the provided data and layout.

When the application is run, it will create a web server that serves the application, and will open a web browser to display the application at the specified URL. The resulting application will contain a single page with a scatter plot of the data provided in the code.

AnteriorPerformance

Última actualización hace 2 años

¿Te fue útil?

🍭