Repository navigation
Closed
Description
matplotlib-clj.core=> (plot-it)
2019-11-15 21:02:28.865 java[21046:1140194] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff2c69e6ef -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 371
1 AppKit 0x00007fff2c69bbc1 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
2 AppKit 0x00007fff2c69b633 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
3 _macosx.cpython-37m-darwin.so 0x00000001361646b0 -[Window initWithContentRect:styleMask:backing:defer:withManager:] + 80
4 _macosx.cpython-37m-darwin.so 0x0000000136167bc7 FigureManager_init + 327
5 Python 0x000000012ddba050 wrap_init + 12
6 Python 0x000000012dd81407 wrapperdescr_call + 337
7 Python 0x000000012dd7b668 _PyObject_FastCallKeywords + 365
8 Python 0x000000012de123ad call_function + 746
9 Python 0x000000012de0af6f _PyEval_EvalFrameDefault + 7020
10 Python 0x000000012dd7bbdd function_code_fastcall + 112
11 Python 0x000000012dd7c561 _PyObject_Call_Prepend + 150
12 Python 0x000000012ddb9fbe slot_tp_init + 80
13 Python 0x000000012ddb6c85 type_call + 178
14 Python 0x000000012dd7b668 _PyObject_FastCallKeywords + 365
15 Python 0x000000012de123ad call_function + 746
16 Python 0x000000012de0af6f _PyEval_EvalFrameDefault + 7020
17 Python 0x000000012dd7bbdd function_code_fastcall + 112
18 Python 0x000000012de123b4 call_function + 753
19 Python 0x000000012de0af6f _PyEval_EvalFrameDefault + 7020
20 Python 0x000000012de12c5c _PyEval_EvalCodeWithName + 1857
21 Python 0x000000012dd7b42a _PyFunction_FastCallDict + 441
22 Python 0x000000012dd7c561 _PyObject_Call_Prepend + 150
23 Python 0x000000012dd7b910 PyObject_Call + 136
24 Python 0x000000012de0b286 _PyEval_EvalFrameDefault + 7811
25 Python 0x000000012de12c5c _PyEval_EvalCodeWithName + 1857
26 Python 0x000000012dd7b7c7 _PyFunction_FastCallKeywords + 225
27 Python 0x000000012de123b4 call_function + 753
28 Python 0x000000012de0b00d _PyEval_EvalFrameDefault + 7178
29 Python 0x000000012dd7bbdd function_code_fastcall + 112
30 Python 0x000000012de123b4 call_function + 753
31 Python 0x000000012de0b00d _PyEval_EvalFrameDefault + 7178
32 Python 0x000000012de12c5c _PyEval_EvalCodeWithName + 1857
33 Python 0x000000012dd7b7c7 _PyFunction_FastCallKeywords + 225
34 Python 0x000000012de123b4 call_function + 753
35 Python 0x000000012de0b00d _PyEval_EvalFrameDefault + 7178
36 Python 0x000000012de12c5c _PyEval_EvalCodeWithName + 1857
37 Python 0x000000012dd7b42a _PyFunction_FastCallDict + 441
38 jna2771800009792166730.tmp 0x0000000127a9be74 ffi_call_unix64 + 76
39 ??? 0x000070000ded2548 0x0 + 123145535956296
)
Metadata
Metadata
Assignees
Labels
No labels
Activity
xlisp commentedon Nov 15, 2019
@cnuernber , My project is here: https://github.com/chanshunli/matplotlib-clj :-D
cnuernber commentedon Nov 15, 2019
Hmm. I don't think this is fixable from the outside. Probably you will need to use the canvas renderers for matplotlib or only use it from the main thread, not a repl thread (which would be a shame).
Good idea for a project though.
xlisp commentedon Nov 15, 2019
I run this plot in
lein run,not other thread :The Code is here :
cnuernber commentedon Nov 15, 2019
I found a matplotlib issue related to this:
matplotlib/matplotlib#14304
xlisp commentedon Nov 15, 2019
Thanks @cnuernber, I use the WebAgg, it's work :-D
cnuernber commentedon Nov 17, 2019
Nice work!!
Closing as I believe this is a matplotlib issue and not a libpython-clj issue.