Hello
Finally (after long time) I managed to get time and courage to make my
first PR with this little modification
https://github.com/matplotlib/matplotlib/pull/2417
Federico
On Tue, Mar 13, 2012 at 3:17 PM, John Hunter <jdh2...@gmail.com> wrote:
>
>
> On Tue, Mar 13, 2012 at 1:20 PM, Federico Ariza
> <ariza.feder...@gmail.com>wrote:
>
>> Hi
>>
>> That is exactly what I am doing, but I thought it was kept somewhere.
>>
>> I like the idea of upstream modification of relim.
>>
>>
> It would be trivial to add a kwarg to relim:
>
> include_invisible=True
>
> which defaults to the current behavior.
> def relim(self, include_invisible=True):
> """
> Recompute the data
> limits based on current artists. If you want to exclude
> invisible artists from the calculation, set
> `include_invisible=False`
>
> At present, :class:`~matplotlib.collections.Collection`
> instances are not supported.
> """
> # Collections are deliberately not supported (yet); see
> # the TODO note in artists.py.
> self.dataLim.ignore(True)
> self.ignore_existing_data_limits = True
> for line in self.lines:
> if include_invisible or line.get_visible():
> self._update_line_limits(line)
>
> for p in self.patches:
> if include_invisible or p.get_visible():
> self._update_patch_limits(p)
>
>
> But include_invisible isn't the most intuitive name...
>
> JDH
>
>
>
>
--
Y yo que culpa tengo de que ellas se crean todo lo que yo les digo?
-- Antonio Alducin --
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users