Comments (6)
I think I'd like to try that one out!
from dataframes.
Hi @Magalame — this task is all yours, if you have any questions or issues, don't hesitate to ask.
Some points of interest for you:
- https://github.com/luna/dataframes/blob/master/native_libs/third-party/matplotlib-cpp/matplotlibcpp.h — here we wrap the python code (we rewrite, as needed, matplotlib-cpp to use pybind11 library) into C++
- https://github.com/luna/dataframes/blob/master/native_libs/plotter/Matplotlib/Plot.cpp — exposing C++ as C API that Luna can call
- https://github.com/luna/dataframes/blob/master/src/Plot/Matplotlib.luna — Luna wrappers
By following similar pattern, you should be able to pretty easily add a new kind of chart.
from dataframes.
Thanks! I have to admit I don't have much C++ experience but I'll try just imitating what is already written
from dataframes.
I was wondering, what is the plan regarding the api more exactly? The violin
plots? like for kde
and kde2
?
from dataframes.
@Magalame
Yes, I'd expect something like this. Basically after completing C++ part, you should in Luna:
- add wrapper to exported C API method to
Matplotlib
class (in theMatplotlib
module) - add class
Violin
to theMatplotlib
module, that contains all the parameters we allow to be passed from Luna to Seaborn - add
violin
method toTable
andChartBuilder
classes
To focus attention, you might want to start with recreating some example from seaborn documentation page and then build upon this. Or you can create brand new show-case. It's up to you!
from dataframes.
@mwu-tow sorry, I think I'll drop this one, C++ isn't my forte and Luna Studio consumes a fair amount of RAM on linux, it quickly get hard to work with it :/
from dataframes.
Related Issues (20)
- Table.write HOT 2
- Table.aggregate does not work for many columns to aggregate
- Write charts to file
- Crash on Table.read when using Dataframes built from sources from Luna Studio HOT 7
- Dataframes local builds crashes on MacOS
- Build failure with MSVC >= 15.9 HOT 2
- Dataframes packages on macOS crashing luna-studio
- `rollingIntervalMultiple` causes an error for multiple functionas and columns
- AppVeyor fails to run tests recently
- Revert workaround from #130 once VS 15.8 or VS 16.0 is available
- update docs and snippets with proper filepath to real data file
- `columnAt` should work where `at` works
- Add new types of visualizations for Dataframes
- rollingInterval and plots compile error
- Dataframes visualizations with Plotly
- Add missing `toJSON` methods
- CMake cannot find libraries despite anaconda install HOT 14
- snippets.yaml is not packed to a package
- describe does not work
- Building relocatable macOS packages in CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataframes.