Revision: 4774
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4774&view=rev
Author: mdboom
Date: 2007-12-19 12:51:16 -0800 (Wed, 19 Dec 2007)
Log Message:
-----------
Fix aspect ratio bug.
Modified Paths:
--------------
branches/transforms/lib/matplotlib/axes.py
Modified: branches/transforms/lib/matplotlib/axes.py
===================================================================
--- branches/transforms/lib/matplotlib/axes.py 2007-12-18 21:10:20 UTC (rev
4773)
+++ branches/transforms/lib/matplotlib/axes.py 2007-12-19 20:51:16 UTC (rev
4774)
@@ -1330,7 +1330,7 @@
if not self.get_visible(): return
renderer.open_group('axes')
- self.apply_aspect(self.get_position())
+ self.apply_aspect(self.get_position(True))
if self.axison and self._frameon:
self.axesPatch.draw(renderer)
@@ -5079,7 +5079,7 @@
right
"""
- ax2 = self.figure.add_axes(self.get_position(), sharex=self,
frameon=False)
+ ax2 = self.figure.add_axes(self.get_position(True), sharex=self,
frameon=False)
ax2.yaxis.tick_right()
ax2.yaxis.set_label_position('right')
self.yaxis.tick_left()
@@ -5095,7 +5095,7 @@
top
"""
- ax2 = self.figure.add_axes(self.get_position(), sharey=self,
frameon=False)
+ ax2 = self.figure.add_axes(self.get_position(True), sharey=self,
frameon=False)
ax2.xaxis.tick_top()
ax2.xaxis.set_label_position('top')
self.xaxis.tick_bottom()
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins