kivy-ios
kivy-ios copied to clipboard
Feature request: MatplotLib for iOS
*Need MatplotLib for iOS and today I use it on my Android app. Matplotlig are a greate tool when you want to show result of calculations on a grapf.
Today a recipy exsist for android: https://github.com/kivy/python-for-android/tree/develop/pythonforandroid/recipes/matplotlib
If someone have iOS-recipy-skills, I think this info might help: https://github.com/OtoJig/Python-Apple-support/issues/4
Matplotlib depends on Numpy and I know there are also a problems with "multiarray_umath" with Numpy that have to be solved for Matplotlib to work. Here are a solution to this problem that I don't know to how implement: https://github.com/kivy/kivy-ios/issues/647
- Thinking of user "w3sip" and the solution: "Adding -Wl,-force_load,libnumpy.a to the binary linking with Kivy"
- I never made a request before and I'm sorry if did somthing wrong...
The first step is to build the Python for iOS target using the python-for-ios recipe. This will provide you with a Python interpreter that is compiled for iOS and can be used to run Matplotlib.
Next, you will need to install Matplotlib and its dependencies, including Numpy, using pip. You can do this by running the following command:
pip install matplotlib numpy Once Matplotlib is installed, you should be able to import it and use it in your iOS app to create and display plots and charts.
The first step is to build the Python for iOS target using the python-for-ios recipe. This will provide you with a Python interpreter that is compiled for iOS and can be used to run Matplotlib.
Next, you will need to install Matplotlib and its dependencies, including Numpy, using pip. You can do this by running the following command:
pip install matplotlib numpy Once Matplotlib is installed, you should be able to import it and use it in your iOS app to create and display plots and charts
@gitgudyyao matplotlib
is not a plain-python package, therefore can't be easily packaged into the app via toolchain pip install matplotlib
.
matplotlib
, like numpy
(which have one) needs a recipe to be cross-compiled.
Is anyone working on this? Is there any way I can help?
I got it working, is there a standard procedure for making a pull request?