Better support for plotting libraries
See original GitHub issueSiuba works with plotnine directly after >>
, as
from siuba import _, mutate
from siuba.data import mtcars
import plotnine as p9
(mtcars
>> mutate(hp_per_cyl = _.hp / _.cyl)
>> p9.ggplot(p9.aes(x='cyl', y='hp_per_cyl')) + p9.geom_point()
)
… but needs a pipe
to work with other plotting libraries like seaborn, altair, lets-plot, plotly, etc., as
from siuba import pipe
import plotly.express as px
(mtcars
>> mutate(hp_per_cyl = _.hp / _.cyl)
>> pipe(lambda d: px.scatter(data_frame=d, x='cyl', y='hp_per_cyl'))
)
Could other plotting libraries be supported directly after the >>
?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
15 Best Charting Libraries to Build Beautiful Application ...
The tool will help you kickstart your development of a dashboard by using stunning templates and beautiful chart styles.
Read more >Top 6 Python Libraries for Visualization: Which one to Use?
Takeaway: Matplotlib can plot anything but complex plots might take much more codes than other libraries. Seaborn. Seaborn is a Python data ...
Read more >12 Python Data Visualization Libraries to Explore for Business ...
This list is an overview of 10 interdisciplinary Python data visualization libraries including matplotlib, Seaborn, Plotly, Bokeh, pygal, ...
Read more >15 JavaScript Libraries for Creating Beautiful Charts - SitePoint
The best JavaScript charting libraries for creating and graphs and ... Plotly.js supports 20 chart types, including SVG maps, 3D charts, ...
Read more >Top 5 Best Python Plotting and Graph Libraries - AskPython
Plotly is an online visualization platform with library support. Here, we can build interactive plots just like Bokeh, however with additional graphs such...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think R side-steps the need for a
pipe
function by using non-standard evaluation 😬Agreed. Or is naming
pipe
otherwise an option? Is there a grammar for a similar function in dplyr?