From 11497c9c579ab61398ac32122a9f90807c281e9b Mon Sep 17 00:00:00 2001 From: Phil Elson Date: Sun, 1 Feb 2015 22:41:51 +0000 Subject: [PATCH] Slightly improved getstate call based on feedback from Thomas Cuypers. --- lib/matplotlib/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/image.py b/lib/matplotlib/image.py index a9088a78af5a..0056203b08f5 100644 --- a/lib/matplotlib/image.py +++ b/lib/matplotlib/image.py @@ -114,7 +114,7 @@ def __init__(self, ax, def __getstate__(self): state = super(_AxesImageBase, self).__getstate__() # We can't pickle the C Image cached object. - state.pop('_imcache', None) + state['_imcache'] = None return state def get_size(self): pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy