On 17.02.06, Patrick Pletscher wrote: > > You have to add fromvalue=1 (or whatever fits) to arguments of the > > histogram style: > > > > graph.style.histogram(autohistogramaxisindex=0, steps=0, fromvalue=1) > > > > Wow, cool! That works nicely. Sorry for asking something documented, but > I wasn't aware that this is what I was looking for. However by rereading > the relevant section in the manual I found as well the option > fillable=1, which did solve the second question (prevent merging of > bins). Cool...
Hey, I wasn't aware of this "fillable=1 feature" as a workaround. (The fillable feature is originally designed for something else, namely to properly handle the case, when a histogram is cut by the graph boundaries. While you don't want to stroke along the graph boundaries, you need those path parts for filling. See the functional test http://cvs.sourceforge.net/viewcvs.py/pyx/pyx/test/functional/test_histogram.py?view=markup for some examples.) Beside that I think the merging of the bins clearly is a bug. I've found it myself recently when I played around with the histogramdata data provider. It's already on my todo list: http://cvs.sourceforge.net/viewcvs.py/pyx/pyx/CHANGES?r1=1.424&r2=1.425 André -- by _ _ _ Dr. André Wobst / \ \ / ) [EMAIL PROTECTED], http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
