Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7114ad0

Browse files
committed
Changed the rcParam option name from 'vector_graphics.combine_images' to 'image.combine_images', and updated the matplotlibrc.template.
1 parent b60d6b6 commit 7114ad0

File tree

4 files changed

+1
-18
lines changed

4 files changed

+1
-18
lines changed

lib/matplotlib/backends/backend_pdf.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,11 +1582,7 @@ def option_combine_images(self):
15821582
return whether to combine multiple images on a set of axes into one
15831583
image
15841584
"""
1585-
<<<<<<< HEAD
15861585
return rcParams['image.combine_images']
1587-
=======
1588-
return rcParams['vector_backends.combine_images']
1589-
>>>>>>> Added the rcParams 'pdf.combine_images', 'svg.combine_images', and
15901586

15911587
def draw_image(self, gc, x, y, im, dx=None, dy=None, transform=None):
15921588
self.check_gc(gc)

lib/matplotlib/backends/backend_ps.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,7 @@ def option_combine_images(self):
457457
return whether to combine multiple images on a set of axes into one
458458
image
459459
"""
460-
<<<<<<< HEAD
461460
return rcParams['image.combine_images']
462-
=======
463-
return rcParams['vector_backends.combine_images']
464-
>>>>>>> Added the rcParams 'pdf.combine_images', 'svg.combine_images', and
465461

466462
def _get_image_h_w_bits_command(self, im):
467463
if im.is_grayscale:

lib/matplotlib/backends/backend_svg.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -535,11 +535,7 @@ def option_combine_images(self):
535535
if rcParams['svg.image_noscale']:
536536
return False
537537
else:
538-
<<<<<<< HEAD
539538
return rcParams['image.combine_images']
540-
=======
541-
return rcParams['vector_backends.combine_images']
542-
>>>>>>> Added the rcParams 'pdf.combine_images', 'svg.combine_images', and
543539

544540
def _convert_path(self, path, transform=None, clip=None, simplify=None):
545541
if clip:

lib/matplotlib/rcsetup.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -758,12 +758,7 @@ def __call__(self, s):
758758
# Maintain shell focus for TkAgg
759759
'tk.window_focus': [False, validate_bool],
760760
'tk.pythoninspect': [False, validate_tkpythoninspect], # obsolete
761-
762-
<<<<<<< HEAD
763-
=======
764-
# combine all images on a set of axes into a single image
765-
'vector_backends.combine_images': [True, validate_bool],
766-
>>>>>>> Added the rcParams 'pdf.combine_images', 'svg.combine_images', and
761+
767762
# Set the papersize/type
768763
'ps.papersize': ['letter', validate_ps_papersize],
769764
'ps.useafm': [False, validate_bool], # Set PYTHONINSPECT

0 commit comments

Comments
 (0)