Skip to content

Peter Iannucci piannucci

  • RAI Laboratory LLC
  • Cambridge, MA
  • Joined on Jan 07, 2011
Peter Iannucci
  • Peter Iannucci d15401f
    Added usage information to README
piannucci created branch master at piannucci/rlp
piannucci created repository piannucci/rlp
Peter Iannucci
Incorrect shapes string in NormExpan_gen.__init__
1 commit with 1 addition and 1 deletion
Peter Iannucci
  • Peter Iannucci 70ee32c
    Incorrect shapes string in NormExpan_gen.__init__
Peter Iannucci
Forgiveness
Peter Iannucci
Quotation attribution
Peter Iannucci
Path snapping does not respect quantization scale appropriate for Retina displays
piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

There are a couple of issues we should discuss: The behavior of FigImage The rasterization of event plots (IIRC, can't check right now) On Dec 17, …

Peter Iannucci
  • Thomas A Caswell 2d051f2
    Merge pull request #2657 from minrk/sys-argv-mybad
  • Thomas A Caswell 85fccfe
    Merge pull request #2661 from rtrwalker/display-axes-label-when-editi…
  • 15 more commits »
piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

Can you please double-check that you are using the macosx backend? What does pl.gcf().canvas.renderer.get_image_magnification() say? What about the…

piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

The MathTeX is low-res, as is the AxesImage. These two screenshots are from before and after applying my patch. I get the same results off of trunk…

piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

My test case is import numpy as np, pylab as pl pl.imshow(np.arange(1000000).reshape(1000,1000) % 997) pl.text(0,100,'$foo$')

piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

Okay, pull request rewritten to be a little more subtle. Note that calling renderer.get_image_magnification outside of the OS X drawing callbacks w…

Peter Iannucci
  • Peter Iannucci 145982e
    MacOSX backend supports 2x DPI images and MathTeX.
piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

Hm, I think there is a better way after all. Let me see.

Peter Iannucci
  • Peter Iannucci 4344ca8
    Moved backing scale factor property from manager to canvas.
piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

I don't mind making the change, but since RendererMac is only instantiated in one place (FigureCanvasMac.init), it seems like extra complexity. The…

piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

Looks like we can do this with FigureCanvas instead of FigureManager. Thanks!

piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

Maybe should have been called "get_preferred_image_magnification".

piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

Again, it would be cleaner if we could change the draw_image function to take an extra argument.

piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

Unfortunately, CoreGraphics bitmaps don't really have a sense of scale about them, so far as I can tell. It would be cleaner to tell gc.draw_image …

piannucci commented on pull request matplotlib/matplotlib#2665
Peter Iannucci

RendererMac needs a reference to the canvas because the manager hasn't been created yet, and the manager's NSWindow is our ticket to reading the sc…

Peter Iannucci
MacOSX backend supports 2x DPI images and MathTeX.
1 commit with 68 additions and 6 deletions
Peter Iannucci
  • Peter Iannucci 0f0fa45
    MacOSX backend supports 2x DPI images and MathTeX.
Peter Iannucci

I'm hacking on something right now and I can't easily post the screenshot you asked for. I suspect that the linker puts a timestamp in the binary t…

Peter Iannucci

Not sure if this has been posted elsewhere. Running Python 2.7.6 from MacPorts, but this trick has been working for me for months. Edit /opt/local/…

Something went wrong with that request. Please try again.