forked from AndreasHeger/CGATReport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
742 lines (411 loc) · 19.1 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
-- ALMOST DONE : add print/save functionality. Currently you can save by right
clicking on the fig window, but you must have nothing in front of
the window. I suppose I need to first draw to a pixbuf. I would
also like to control the resolution.
UPDATE: high resolution printing. Resolution can be set from the
command line, but the GUI needs to be updated to allow resolution
to be set along with filename
-- DONE : fix text size calculations using pango layouts:
-- DROPPED : add a font selection dialog for the axis text
-- DONE enable vertical rendering for ylabels:
-- DONE with pango : enable anti aliasing for fonts
-- DONE enable fancy text labels (eg, greek letters, math symbols,
superscripts) ala TeX or unicode
-- DROPPED add a color selection dialog for the background, lines, and text
-- DONE allow interactive control of the plot from the python shell after
it has been launched using the cookbook thread recipe.
-- write a user guide
-- DONE allow more intelligent choice of tick labels and locs when panning and
zooming.
-- figure out why the positioning of dialog boxes based on position
and size of main window and dialog window doesn't work exactly as
expected. For example, the width of the dialog box is being
reported as being much smaller than it is. Is window pixels the
unit being returned by for gtk.Dialogs.get_size? Also, this isn't
working cross platform. According to the docs this is better
handled using size hints -- but I don't know how to use them, yet.
-- vlines and hlines disappear in some instance due to improper
clipping
-- One the errorbar demo the hlines do not always appear symmetric
about the x values. Is there an tranformation or rounding problem
occurring somewhere?
-- DONE Clip patches outside view port
-- DONE: subplot now takes a kwarg axisbg with color format string
just as axes does : Allow background color to be set for subplots
-- DONE Expose bug on win32 for axis text
-- Fix floating point bug on panx/pany where 0 is computed as 5e-17
UPDATE: hack workaround. If the distance of the tickloc from the
nearest integer is a small fraction of the view lim, just use the
integer
-- DONE: 2003-05-12 fixed _grab_next_args in figure.py : fmt process
bug on this kind of plot command (2nd of 3 has no format string)
plot(t1, p1, 'o', t2, p2, ogtt.times, ogtt.cpeptide, 's')
-- DONE xlabel is lower than it needs to be
-- DONE 2003-05-12 Removed some of the state handling of text labels
so they always redraw: interactive setting of x/ylabels doesn't
redraw all labels unless you click a forced redraw
-- CLOSED When you change a property using the OO interface in interactive,
the figure doesn't know to redraw.
Some possibilities:
1) redraw on all interactive commands. kind of heavy handled
2) override setattr on artist to signal a redraw event. kind of
heavy handled
3) allow derived classes to signal redraw events when nexessary.
kind of code intrusive.
-- DONE 2003-05-11 on exit from interactive.py call gtk. mainquit
-- DONE 2003-05-11 pan/zoom on axes_demo flushes insets
-- DONE 2003-05-12 with window.window.raise_() : raise the figure
returned by figure but don't give it the focus
-- CLOSED when you toggle an axes for interactive navigation, make sure a
checked on appears as the default is one is checked
-- DONE compile pygtk for threads on win32.
-- DONE 2004-02-04 There is a bug in vertical rendering of text that is exposed in the
text, but not the ylabel, command. It looks like a pixmap or
images is not being properly initialized, resulting in pixel noise.
-- DONE Fix the way the color map allocs colors. Use only one DrawingArea
instead of creating a new one with each call to ColorDispatcher().
With this fix the bug in the logo code where the foreground text
doesn't render to the desired color
-- include manifest file for rpms
-- fix CTRL-z bug in interactive2.py
-- CLOSED Allow gca not gca(); ditto for gcf()
-- DONE Fix legend to take a vector of line handles
-- DONE Fix legend bug on win32 and stock_demo. This appears to be GTK
specific
-- DONE with log scaling ticks too short with log scaling
-- arbitrary patches for scatter
-- DONE zoom x and y controls in wrong direction. tick labels not updating
with interactive zoom
-- DONE 2003-11-20 - add TM for matlab on website and in docs
-- Why are the pcolor PS files so large (45MB!). How to do interp
shapding with GTK. Look at the effect of linewidth on GTK plots --
what happens when linewidth < 1. Fix pcolor problem arising from
integer location error on the pcolor borders
-- DONE 2003-11-02 - Do a nearest neighbor color pick on GD when
allocate fails
-- DONE 2003-11-20 - make a nice errorbar and scatter screenshot
-- DONE finish contour
-- allow rectangle select region for zoom tool
-- update Debian section on web page
-- DONE 2003-11-20 - auto line style cycling for multiple line types
broken
-- DONE 2003-11-18 (using inkrect) :logical rect too big on gtk backend
-- DONE 2003-11-18 ticks don't reach edge of axes in gtk mode --
rounding error?
-- DONE 2003-11-20 - port Gary's errorbar code to new API before 0.40
-- DONE 2003-11-20 - problem with stale _set_font. legend axes box
doesn't resize on save in GTK backend -- see htdocs legend_demo.py
-- DONE 2003-11-21 - make a dash-dot dict for the GC
-- dashes broken in GTK backend on win32?
-- finish XVFB architecture
-- write a PDF user's guide
-- Add Kishimoto's suggestions to hist
-- DONE 2003-12-15 - fix install path bug
-- DONE Scale line width with DPI
-- DONE 2004-02-06 allow pass of file handle to backend_gd
-- DONE check clipping for GD
-- Fix GD color allocation bug
-- DONE Write install instructions for Paint on win32 and linux
-- DONE Write install instructions for gd on win32
-- Separate out the backend web pages and get developers to maintain
them.
-- DONE FAQ
-- DONE 2004-02-11 explaing the new interactive syntax on
http://matplotlib.sourceforge.net/interactive.html
-- DONE 2004-02-11 lost backend_gtk rotate_text fix - find it!
-- DONE GTK clipping broken?
-- DONE GTK facecolor reversed for line markers
-- DONE figure clear
-- DONE 2004-02-12 (used filledEllipse) gd filling is not working like
I think - see arctest
-- gd edge clipping is whacked - see arc test
-- DONE 2004-02-15 font manager for paint and agg
-- DONE - website docs for agg - eg, backends.html#Agg
-- DONE 2004-02-17 build win installer for agg matplotlib-0.50
-- DONE 2004-02-16 incorporate John Gill's PS patch
-- DONE 2004-02-13 agg bug; when repeated calls to savefig are made,
the dpi setting in the second one is ignored.
-- DONE alignment test: facecolor blue
-- axes_demo - strange line artifact in paint
-- DONE 2004-02-15 - figtext missing
-- table doesn't update on interactive
-- DONE update fonts page with TTFPATH and info on how to use win32 fonts.
-- DONE 2004-02-17 make legend attributes accessible
-- DONE decreasing axes - James Boyle <boyle5@llnl.gov>
-- CLOSED check out Helge's contour
-- DONE 2004-02-23 with points_to_pixels. fonts too big on wx
-- test agg/freetype2 with ms freetype fonts in path. Be sure to
remove ~/.fonts.cache after changing yout ttfpath
-- why doesn't dir reveal any attrs on my Glyph and FT2Font objs?
-- get module docs for ft2font working right
-- DONE kwargs in plot to set lineprops?
-- DONE fix data clipping to per matthew' suggestion
-- DONE 2004-02-25 fix setup.py to build ft2
-- DONE TkAgg resize (test on win32)
-- DONE TkAgg interactive on win32
-- DONE test mathdemo on win32
-- DONE 2004-03-01 - figure out what you want to do about mathtext on GTK for next relase
-- DONE mathtext screenshot demo
-- DONE integrate numerix chooser with matplotlib.__init__
-- CLOSED figure out how to make draw if interactive play nicely
-- DONE - (Todd updated docs) - python2.2 no default tkinter
-- DONE check out wx
-- DONE 2004-03-02 - fix ft2font clipping on agg
-- DONE 2004-03-02 - why are aliased lines of varying widths on agg?
-- DONE update dynamic_demo_wx
-- DONE add figure legend
-- DONE - support partial window expose redraws in agg
-- fix datalim problem with aspect preserved for image backend
-- add get_xlim and get_ylim for patches
-- DONE - mathtext size not scaling with DPI
-- CLOSED implement Paul's mathtext parser fixes
-- DONE rotated mathtext
-- DONE fix mathtext sub and super layout
-- DONE get a sf request to remove fonttools and ttfquery
-- DONE add polar plots
-- add pie charts
-- DONE support fontdicts, with deprecation as necessary
-- DONE move text layout to front end and support newlines with rotation.
-- DONE aligment test of backend_ps and table_demo on all backends
-- fix the sqrt mathtext bug revealed by Flavio's example
-- fix the parser for sqrt,
-- DONE fix the parser for over/under subscripts
-- DONE add \/ for TeX
-- fix kerning for TeX
-- DONE - text_themes is segfaulting on gtkagg
-- DONE mathtext s l o w
-- DONE ps backend fails alignment test
-- DONE ps backend is slow! Almost all of this is eaten by parsing afm
files
-- decreasing log axes needs fix
-- DONE modify pcolor to allow custom cmap
-- Check for empty quote data returns
-- DONE toolbar not showing up in wx os x
-- fromstring examples need byte order in darwin
-- DONE PS not centering properly
-- DONE gary's win crash
-- get a standard way to show windows w/o entering mainloop
-- DONE wx tooltips
-- DONE close wx return to interpreter
-- allow sharing of locators
-- check out epydoc
-- DONE fix color on errorbar lines
-- DONE savefig to file handle.
-- add agg and and image generic tostring methods
-- DONE expose line set dashes
-- DONE fix vertical layout in PS
-- DONE y clipping broken
-- DONE fix data lim problem with image; see image_demo2
-- DONE handle space in roman/font text
-- DONE scatter demos whacked
-- DONE fix small artist bboxing problems
-- DONE fix backend image area problem for vert text in GTK - related to
ascender I think - same problem as above
-- Tim's log y on hist.
-- DONE test numarray with default draw collections
-- DONE clipping for collections
-- DONE Todd's nx stuff
-- DONE fix object picker and eeg demo
-- DONE axes bg color
-- check paint vs gd/agg tick locations
-- DONE PS text vert centering off
-- DONE - pcolor edge color
-- DONE fix log bar - worked on OSX?
-- DONE convert rank 1 arrays as per Flaviu's post
-- email tim log bar code after release
-- fix + 2 hack in width, height of ft2font and backend_agg and GTK
-- DONE check mathtext in GTK
-- DONE axes frame dim
-- DONE image data scaling
-- DONE y tick outside frame?
-- DONE incorporate gary's errorbar
-- DONE bug in -45 newline text
-- write to stream in Agg
-- DONE gtkagg bug in win98
-- DONE fix try in errorbar
-- add collections to lines
-- some strangeness in table when multiple saves are called
-- use RGBA throughout lib
-- DONE fix wrt log and recommit cvs
-- check Fernando's bounds problem with pcolor.
-- DONE Write John's Letter
-- DONE add default args to imshow per Fernando's suggestion
-- DONE - check out Fernando's wx prob
-- DONE add interp and aspect info to imshow doc
-- add write png method to image module
-- change the viewlim on call to log if min ax <=0
-- DONE fix set_def font example and update API_CHANGES
-- CLOSED upload 0.54.2 zip
-- DONE need a new way to indicate linestyle
-- DONE update website re debian
-- DONE Fix stale link on GTK FAQ entry
-- DONE flush all traces of gtkgd
-- DONE run backend_driver with numeric and numarray (the latter only
with agg)
-- DONE fix vlines raise in matlab.py
-- DONE fix imshow/figlegend try/except raise in matlab.py
-- DONE fix colorbar
-- DONE add rc, figlegend to headers and docs
-- DONE clear agg bg to 0 alpha
-- DONE reset build flags in setup.py
-- add wxagg extension code to goals
-- DONE major and minor ticks for log and major and minor grid on/off
-- make the subplot slider function
-- add colorbar to screenshots
-- add jim's legend patch
-- DONE clear clip for agg
-- DONE layer images broken
-- font dict in wx is broken w/ respect to new font names
-- DONE update nav section of tutorial
-- DONE track down transforms memleak
-- DONE make sure you handle cacheing of rotated mathtext properly
-- handle deprecated connect across backends graciously
-- embedding_in_wx3 seems broken with numeric
-- DONE add new connect to API_CHANGES
-- DONE port new toolbar to embedding examples
-- DONE \sum height problem - see mathtext_tut
-- DONE check for zero zoom to rect
-- make sure toolbar events and user events can coexist happily
-- DONE copy in axis and text return undo
-- repeated zoom in to rect causes tick labels to stop updating and
eventual crash with
ZeroDivisionError: SeparableTransformation::eval_scalars yin interval is zero; cannot transform
Traceback (most recent call last):
File "/usr/local/lib/python2.3/site-packages/matplotlib/backends/backend_gtk.py", line 713, in wrapper
xdata, ydata = a.transData.inverse_xy_tup((thisEvent.x, thisEvent.y))
ZeroDivisionError: SeparableTransformation::eval_scalars yin interval is zero; cannot transform
Traceback (most recent call last):
File "/usr/local/lib/python2.3/site-packages/matplotlib/backends/backend_gtk.py", line 713, in wrapper
xdata, ydata = a.transData.inverse_xy_tup((thisEvent.x, thisEvent.y))
ZeroDivisionError: SeparableTransformation::eval_scalars yin interval is zero; cannot transform
-- DONE some backends (ps and svg) appear to layout legend_demo2 text
improperly
-- DONE text colors for svg
-- DONE update installing.html from INSTALL
-- DONE rubberbanding broken on subplot_demo/gtk
-- PARTIAL - need to copy function type - add copy/deepcopy support
for transforms
-- DONE (added stroke width) text looks funky in SVG - stroke width?
-- DONE blit on gtkagg after print is whacked
-- investigate matfile inclusion
-- offset ps and svg text by max descender
-- DONE mathtext PROD offset spi dependent!
-- DONE layer image whacked
-- DONE scatter demo2 whacked
-- fail intelligently when matplotlib data is not found
-- \cal{B} doesn't parse in s =
r'$\cal{R}\prod_{i=\alpha\cal{B}}^\infty a_i\rm{sin}(2 \pi f x_i)$'
-- user events and nav event clashing on tkagg coords_demo/win32
-- DONE check signal connect and disconnect in interactive use with
multiple figure creation / deletion etc.
-- DONE add xlim, ylim
-- tick bug on preserve, possibly center preserved image, flagt to
reshape axes on preserve
-- test rellinks in pydoc
-- port transforms to backend and break up long arrays in agg and svg
-- clickable plot elements with labels, attributes in collections
-- 'g' grid, 'l' log, SHIFT l, log closest to axis, coords always
available, middle click annotates, p, n, h for view stack,
-- relative distance mode
-- backend dependent cursoring
-- relative distance measures
-- on/off for button in status bar
-- interactive drawing and palletes
-- bk://sidl.bkbits.net/BuildSystem for py configure
-- post hacking points memo on site, ann and send copy to Fernando
-- loadrc() function, possibly replacing per-directory .matplotlibrc
files.
-- file save dialog for Tk? See Mayavi for the right call to make.
-- colorbar for dynamic images.
-- DONE Finish the coords notification for all backends - allow custom
formatters for toolbar
-- DONE an rrulewrapper demo
-- implement a new data clipping method with more exensive cache
interval
-- Humufr errobar
-- DONE why is tkagg loading init 2x
-- DONE add ishold and spy
-- Humufr's shared ticker bug
-- DONE figure should increment the figure if one already exists
-- CLOSED oplot
-- CLOSED override setattr in matlab interface for artists.
-- DONE cmap observer bug - see
~/python/matplotlib_support/test/cmap_observer_bug.py
-- DONE add connect function.
-- DONE add silent list
-- xmajor and xminor kwargs
-- DONE add hold option to plot
-- fix linestyle for collections
-- update ticklabels and range for colorbar when clim changes
-- DONE agg rotation bug for angles > 180
-- DONE mathtext color is wrong in PS
-- CLOSED reverse pie rotation
-- check keypress event handling on tooggle_images.
-- imshow tick labeling buck with aspect preserve
-- scatter_demo2 svg colorbar placement bug
-- tex_rotation svg line bug (clipping??)
-- lag in release events makes key press nav difficult
-- Jim's tick bug in non-interactive mode
-- more flexible tick placement.
-- DONE fix horizontal colorbar axes resize if cax is None
-- mathtext layout bug
from pylab import *
plot(range(10))
title(r'$This\ is\ a\ test$')
show()
-- DONE fix contour mappable to work under changes in clim, cmap
-- DONE make subplot delaxes on other subplots under it.
-- DONE fix transoffset->operator calls in _backend_agg.cpp to handle
exceptions
-- keypress mods on pan/zoom broken in QT in linux
-- DONE linestyles in contour
-- check stabar in wx with toolbar = None or classic
-- nan handling?
-- kwarg processing - eg raise on unrecognized kwargs
-- provide a literal kwarg for text strings to pass thru directly to
the backend, eg ps symbol formatting
-- add gc warning to oo agg and FAQ
-- DONE check why lowest contour is not labeled in contour_demo2 and why
the colormap is still not applying to the contour.
-- the problem with attaching a mappable to the silent_list for
contours is that it doesn't carry over when the list is sliced, eg
when passing every 2nd contour and level to the labeler.
-- colorbar image origin with contour is broken in SVG; test PS
-- Bryan Cole's CXX type segfault
-- DONE japanese ft2font bug
-- Add backend draw cursor method
-- coords kwargs, 'axes', 'figure'
-- axes packing sizes
-- DONE direction fields
-- DONE add a force option to the add_axes code.
-- DONE move object inspector into Artist method
-- make toolbar visible or not
-- DONE hide lazy values make dpi and friends setters
-- CLOSED add a get description to axes which returns the args and kwargs to
construct it
-- restore __all__ to pylab and add ArtistInspector
-- create set_window_title in the figure manager interface expose this
in the figure command
-- multiple tick marks
-- DONE colorbar not updating in CVS
-- DONE tkagg figure not launching new figure until plot is called?
-- clipping off in date_demo_rrule (agg 0.5 offset bug?)
-- DONE merge qt patch.
-- properly handle sys.arv, so that it does not conflict with library
usage of mpl. mpl processes -Dagg, --verbose-helpful, etc, itself,
which can conflict with code that uses mpl as a library and process
options itself.
-- DONE Darren's black band ps image problem.
-- Martin's zoomhist bug
-- Add shading for patches and patch collections.
-- tex system call problem
-- tex rendering looks fuzzy (dvipng version or flag problem)
-- Martin's zoomhist bug
-- restore robert leftwich's tutorial link to FAQ
-- JPL and NIST screenshots...
-- John Gill's patch!
-- Fix latex texmanager caching bug that is preventing the cache from
recognizing a font change
-- handle lineprops.glade install file
-- support zoom to rect in x or y only
-- add Ryan's patch