Git Product home page Git Product logo

Comments (8)

sunhailin-Leo avatar sunhailin-Leo commented on May 20, 2024 1

@sunhailin-Leo G2Plot 的知名度完全不如 echarts,所以项目运营难很多。还是你 6,pyecharts 都到 10k + 了

  • 主要还是 Echarts 好 😂,没有 Echarts 也没有 pyecharts 🐶

from pyg2plot.

hustcc avatar hustcc commented on May 20, 2024 1

@hustcc

  • Python 渲染一些 jsfunction 还是很难受的,写的时候得注意一些地方;除非能撸一个 AST 将 Python 的函数转换为 js 的 unction 🐶
  • 阿里云闲的蛋疼 😂😂

所以可以搞起来了 🐶

from pyg2plot.

hustcc avatar hustcc commented on May 20, 2024

@hustcc

  • 你应该考虑怎么用 jinja2 封装 G2js api

正在考虑中了,看到 pyecharts 使用的是 JSCode string 来,这个目前提供了, 但是在考虑怎么将 Python 的 function 转成 js 的 function string。

之前的 python 忘得差不多了,还要捡起来。

from pyg2plot.

sunhailin-Leo avatar sunhailin-Leo commented on May 20, 2024

@hustcc

  • 我去年本来也想封装一套,后来看了一段时间就劝退了😂,最近还是折腾 Echarts 5.Xpyecharts 下一版本
  • 个人给你个建议哈:你可以折腾这个 cloud-charts

from pyg2plot.

hustcc avatar hustcc commented on May 20, 2024

@sunhailin-Leo PyG2Plot 封装的是 G2Plot,这个是完全 object 形式配置的,只有一些 callback 是 function,所以可行。对于 G2,几乎全部是命令式的 API,几乎不可行,除非解决上面提的这个问题。

cloud-charts 和 G2Plot 思路相同,我都搞不懂 AntV 都官方封装配置的图表了,为啥阿里云还搞 🤔

from pyg2plot.

sunhailin-Leo avatar sunhailin-Leo commented on May 20, 2024

@hustcc

  • Python 渲染一些 jsfunction 还是很难受的,写的时候得注意一些地方;除非能撸一个 AST 将 Python 的函数转换为 js 的 unction 🐶
  • 阿里云闲的蛋疼 😂😂

from pyg2plot.

hustcc avatar hustcc commented on May 20, 2024

@sunhailin-Leo G2Plot 的知名度完全不如 echarts,所以项目运营难很多。还是你 6,pyecharts 都到 10k + 了

from pyg2plot.

sunhailin-Leo avatar sunhailin-Leo commented on May 20, 2024

@hustcc

  • Python 渲染一些 jsfunction 还是很难受的,写的时候得注意一些地方;除非能撸一个 AST 将 Python 的函数转换为 js 的 unction 🐶
  • 阿里云闲的蛋疼 😂😂

from pyg2plot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.