Comments (17)
This should be no problem. I'm currently out of office and will check that next week.
from gr.
FYI: I started creating makefiles for the MinGW compiler - GKS already working fine.I ask for patience ...
from gr.
no problem.
from gr.
I drop the request (with a success), as gr
is now available via Christoph Gohlke.
http://www.lfd.uci.edu/~gohlke/pythonlibs/#gr
from gr.
on my PC (i3-350), I have the following speed-up for http://gr-framework.org/examples/anim.html
fps (mpl): 12
fps (GR): 122
speedup: 10.2
from gr.
next try is not promising:
http://gr-framework.org/examples/double_pendulum3.html
Traceback (most recent call last):
File "D:\WinPython\basedir34\buildFlavorRfull\winpython-3.4.3.amd64\settings\.spyder2-py3\temp.py", line 87, in <module>
double_pendulum([t1, t2], [l1, l2], [m1, m2])
File "D:\WinPython\basedir34\buildFlavorRfull\winpython-3.4.3.amd64\settings\.spyder2-py3\temp.py", line 57, in double_pendulum
gr3.drawimage(0, 1, 0, 1, 500, 500, gr3.GR3_Drawable.GR3_DRAWABLE_GKS)
File "D:\WinPython\basedir34\buildFlavorRfull\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\gr3\__init__.py", line 195, in drawimage
c_int(pixel_width), c_int(pixel_height), c_int(window))
OSError: exception: access violation writing 0x0000000000000000
from gr.
example is not valid python 3 syntax
http://gr-framework.org/examples/figanim.html
from gr.
http://gr-framework.org/examples/pyqt4_ex.html gives
from gr.
Q: next try is not promising: http://gr-framework.org/examples/double_pendulum3.html
A: I will check this.
Q: example is not valid python 3 syntax: http://gr-framework.org/examples/figanim.html
A: Has just been fixed in the master branch.
Q: http://gr-framework.org/examples/pyqt4_ex.html gives error ...
A: The GR bdist was not built with Qt. Possible reason: missing Qt SDK or QTDIR specification.
from gr.
For the impatient user - here you can download a portable Windows GR application (including Python 2.7, Qt 4.8.5, wxWidgets 2.9.4, GhostScript 9.06):
http://pgi-jcns.fz-juelich.de/pub/Downloads/gr-0.10.0-win32.zip
You simply have to change the path in gr/gr.bat
, e.g.
set GRDIR=C:\gr
from gr.
apparently qtplugin.dll is not shipped with Gohlke's http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4
I don't guess how it should comes down to my installation
from gr.
figanim ok now on Python3.4 windows... printing dots
.................................................fps (mpl): 4
.................................................fps (GR): 826
speedup: 206.5
from gr.
http://gr-framework.org/examples/pendulum.html
is creating the image but also this output on spyder internal console (not sure if it is to expect, suspect a python3+windows compatibility issue):
self.shell.write_error(self.get_stderr())
File "D:\WinPython\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\spyderlib\widgets\shell.py", line 557, in write_error
self.flush()
File "D:\WinPython\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\spyderlib\widgets\shell.py", line 581, in flush
text = "".join(self.__buffer)
TypeError: sequence item 0: expected str instance, bytes found
Traceback (most recent call last):
File "D:\WinPython\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\spyderlib\widgets\externalshell\pythonshell.py", line 551, in finished
ExternalShellBase.finished(self, exit_code, exit_status)
File "D:\WinPython\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\spyderlib\widgets\externalshell\baseshell.py", line 254, in finished
self.shell.flush()
File "D:\WinPython\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\spyderlib\widgets\shell.py", line 581, in flush
text = "".join(self.__buffer)
TypeError: sequence item 0: expected str instance, bytes found
from gr.
my system doesn't understand the exec input
line in http://gr-framework.org/examples/qtgrdemo.html
@QtCore.pyqtSlot()
def _shellEx(self):
input = str(self._shell.text())
exec input
self._shell.clear()
self._gr.update()
` File "D:\WinPython\basedir34\build\winpython-3.4.3.amd64\settings\.spyder2-py3\temp.py", line 224
exec input
^
SyntaxError: Missing parentheses in call to 'exec'
from gr.
this example fails http://gr-framework.org/examples/textonaxes.html
(suspect a python 3.4 enforced rule issue)
Traceback (most recent call last):
File "D:\WinPython\basedir34\build\winpython-3.4.3.amd64\settings\.spyder2-py3\temp.py", line 26, in <module>
axes = PlotAxes(plt.viewport).addCurves(curve)
File "D:\WinPython\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\gr\pygr\__init__.py", line 1206, in __init__
self.majorx, self.majory = majorx, majory
File "D:\WinPython\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\gr\pygr\__init__.py", line 1262, in majorx
self._majorx = minorCount if minorCount > 0 or minorCount is None else 1
TypeError: unorderable types: NoneType() > int()
from gr.
there are wheels for "gr" from Christoph Gohlke, so the original issue is droped.
I'll open separate issues for the other remarks, after redoing tests.
from gr.
textonaxes now works for python3.4
from gr.
Related Issues (20)
- Qt 6 support ? HOT 1
- Remove that camera rotation and tilt are integer degrees HOT 4
- GR is slower than MPL HOT 7
- Innacurate Drawing Of Some Chart Elements HOT 1
- Confirm file successfully written to or not - troubleshooting Julia/Plots/CI issue HOT 1
- Provide a verbatim mode
- soname versioning HOT 1
- Replace gethostbyname with getaddrinfo HOT 2
- Rotating polar plot coordinates? HOT 6
- Add Inter Font Support HOT 7
- Python: Is there a way to detect if a plot window has been closed? HOT 3
- 978b2a786834c7c7cd48542e802e857cd8d9302d brings link problem HOT 18
- Plotting multiple lines using C api HOT 4
- Polyline not plotting on simple example HOT 3
- JS Problems HOT 2
- When used as backend for matplotlib, GR can't export to svg HOT 6
- Performance Consistency Issues HOT 3
- Latest version from pip not working on Windows for NICOS HOT 6
- Update GR_jll to Qt6.5 HOT 2
- Javascript Polyline HOT 1
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 gr.