Skip to content

Releases: Kanaries/pygwalker

0.4.9.9

19 Sep 11:15
Compare
Choose a tag to compare

What's Changed

Table component in Streamlit

In streamlit, pygwalker support render pygwalker html by streamlit custom component.

Now there is table component when using Streamlit.

example:

from pygwalker.api.streamlit import StreamlitRenderer
import pandas as pd
import streamlit as st

@st.cache_resource
def get_pyg_renderer() -> "StreamlitRenderer":
    df = pd.read_csv("xxx")
    return StreamlitRenderer(df)

renderer = get_pyg_renderer()

renderer.table()

Full Changelog: 0.4.9.4...0.4.9.9

0.4.9.4

01 Aug 06:17
Compare
Choose a tag to compare

What's Changed

Streamlit custom component

In streamlit, pygwalker support render pygwalker html by streamlit custom component.

And supports return spec when spec changes.

example:

from pygwalker.api.streamlit import StreamlitRenderer
import pandas as pd
import streamlit as st

@st.cache_resource
def get_pyg_renderer() -> "StreamlitRenderer":
    df = pd.read_csv("xxx")
    return StreamlitRenderer(df)

renderer = get_pyg_renderer()

event = renderer.explorer()

print(event)

Full Changelog: 0.4.9.3...0.4.9.4

0.4.9.3

25 Jul 08:19
Compare
Choose a tag to compare

What's Changed

Component api

We're excited to announce an experimental new feature in pygwalker:

The component chaining API that enables intuitive, step-by-step chart construction. This feature currently supports rendering to static HTML.

Key Points:

  • Introduces a chainable API for creating visualizations
  • Allows for more intuitive and readable code
  • Currently an experimental feature
  • Limited to static HTML output at this time

Example usage:

import pygwalker as pyg
import pandas as pd

df = pd.read_csv("xxx")

(
pyg.component(df)
    .rect()
    .encode(x='bin("feeling_temp", 6)', y='bin("temperature", 6)', color="MEAN(humidity)")
    .layout(height=400, width=460)
)

For more examples, please refer to the pygwalker/examples directory in our repository.

Upcoming Improvements:

  1. Optimize the size of pure chart HTML output
  2. Implement two-way communication for Jupyter and Streamlit environments

We welcome feedback from our community as we continue to develop and refine this feature.

Please note that as an experimental feature, syntax and functionality may change in future releases

Full Changelog: 0.4.9...0.4.9.3

0.4.9

27 Jun 05:02
930ed98
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.8.10...0.4.9

0.4.8.10

20 Jun 05:46
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.8.9...0.4.8.10

0.4.8.9

05 Jun 02:58
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.8.7...0.4.8.9

0.4.8.7

29 May 08:23
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.8.5...0.4.8.7

0.4.8.5

19 May 13:34
Compare
Choose a tag to compare

What's Changed

  • fix: fix dialect sql(mysql, postgres) && add new tracker by @longxiaofei in #553

Full Changelog: 0.4.8.4...0.4.8.5

0.4.8.4

15 May 09:14
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.8...0.4.8.4

0.4.8

12 Apr 14:06
Compare
Choose a tag to compare

About Pygwalker0.4.8

  • update duckdb version((0.10.1)
  • update graphic-walker version(0.4.62)
  • refactor api of streamlit
  • add new tab: chat
  • fix bugs and optimize the feature of saving

What's Changed

New Contributors

Full Changelog: 0.4.7...0.4.8