eigenhombre / i3d3

D3-based plotting and histogramming library
25 stars 5 forks source link

Default style of axis label #1

Closed mrocklin closed 11 years ago

mrocklin commented 11 years ago

Currently the axis label seems to be of the same visual weight as an axis tick value by default.

Suggestions:

Are these programmable? Even if so should the default be changed?

sboeser commented 11 years ago

Hey John,

is this guy from IceCube? Anyhow, I've been thinking about this project quite a bit, not in the context of Moni2.0 but in the context of ipython notebook. One of the key missing features in Ipython notebooks is "interactive" inline plots and histograms. So I was contemplating about writing my own wrappers around ROOT stuff, etc, but it turns out ROOT is really not what I want to have to use. So, instead I though I should use JavaScript - and wham - thats where i3d3 comes into play.

I think it should be fairly easy to make somethink like:

Obviously, if it would work as cool as I'd expect it to work, this has the power to get both of us a new job with the ipython guys rather than IceCube, but at least I wanted to throw that idea out.

Cheers, Sebastian

On 15.08.2013, at 18:51, Matthew Rocklin wrote:

Currently the axis label seems to be of the same visual weight as an axis tick value by default.

Suggestions:

• Perhaps it should be slightly more prominent. • Perhaps it should be centered. Are these programmable? Even if so should the default be changed?

— Reply to this email directly or view it on GitHub.


Dr. Sebastian Böser

Physikalisches Institut Universität Bonn 53115 Bonn Tel.: +49/(0)228/732010 sboeser@physik.uni-bonn.de

eigenhombre commented 11 years ago

Sebastian, meet my friend Matt. Matt, meet my friend Sebastian.

@mrocklin I would like to be able program axis label sizes. Consider the feature request accepted.

@sboeser I like your idea, though it sounds like extra infrastructure outside of i3d3 would be needed. I'd like to keep i3d3 itself just for JavaScript plotting/histogramming. Perhaps there is some way to write an i3d3 plugin for iPython Notebook? Have a look at http://python.6.x6.nabble.com/How-to-hook-js-plugins-into-IPython-Notebook-td5015812.html

eigenhombre commented 11 years ago

BTW - After next week I plan to devote more IceCube time to i3d3, per discussion w/ Ops mgr.

eigenhombre commented 11 years ago

Mantis ticket number is 6626

eigenhombre commented 11 years ago

This was already possible page-wide by changing CSS styles; however, I also added a label_style option so that it could be done per-graph.

[master 42823fe] Issue 6626: (i3d3) Make axis label sizes programmable 3 files changed, 6 insertions(+), 2 deletions(-) [master 08adddf] Issue 6626: (i3d3) Make axis label sizes programmable [update example png] 1 file changed, 0 insertions(+), 0 deletions(-) rewrite example.png (95%)