Biología y medicina veterinaria presentación
By Yeferson Stiven Ortiz Guzman · Published August 7, 2026
4 cells1 experiment37 views0 forks
Inside this notebook
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
from matplotlib.patches import FancyBboxPatch, Circle, Ellipse
import numpy as np
import os
os.makedirs('/home/user/images', exist_ok=True)
BLUE_DARK = '#1a5276'
BLUE_MED = '#2980b9'
BLUE_LIGHT = '#d4e6f1'
BLUE_PALE = '#ebf5fb'
GREEN = '#27ae60'
ORANGE = '#e67e22'
RED = '#c0392b'
GRAY = '#7f8c8d'
…All 10 images created successfully! biotech_repro.png: 80911 bytes branches_biology.png: 128831 bytes cell_structure.png: 130877 bytes cow_anatomy.jpg: 60 bytes darwin_tree.png: 60 bytes dna_helix.png: 84863 bytes levels_organization.png: 103472 bytes living_beings.png: 78683 bytes one_health.png: 96197 bytes species_table.png: 94299 bytes timeline.png: 56890 bytes zoonosis_cycle.png: 101849 bytes
from pptx import Presentation
from pptx.util import Inches, Pt, Emu
from pptx.dml.color import RGBColor
from pptx.enum.text import PP_ALIGN, MSO_ANCHOR
from pptx.enum.shapes import MSO_SHAPE
import os
# ============ COLOR PALETTE (Medical-Clinical) ============
BLUE_DARK = RGBColor(0x1a, 0x52, 0x76)
BLUE_MED = RGBColor(0x29, 0x80, 0xb9)
BLUE_LIGHT = RGBColor(0xd4, 0xe6, 0xf1)
BLUE_PALE = RGBColor(0xeb, 0xf5, 0xfb)
WHITE = RGBColor(0xff, 0xff, 0xff)
DARK_TEXT = RGBColor(0x2c, 0x3e, 0x50)
GRAY_TEXT = RGBColor(0x7f, 0x8c, 0x8d)
GREEN = RGBColor(0x27, 0xae, 0x60)
ORANGE = RGBColor(0xe6, 0x7e, 0x22)
RED = RGBColor(0xc0, 0x39, 0x2b)
…Setup complete - helper functions defined
# ============================================================
# SLIDES 1-12: Title, Introduction, Definition, History, Branches
# ============================================================
# SLIDE 1: TITLE
slide = prs.slides.add_slide(prs.slide_layouts[6])
add_bg(slide, WHITE)
add_rect(slide, 0, 0, SW, SH, BLUE_DARK)
add_rect(slide, 0, Inches(2.5), SW, Inches(2.5), WHITE)
add_rect(slide, 0, Inches(2.4), SW, Inches(0.08), BLUE_MED)
add_rect(slide, 0, Inches(5.0), SW, Inches(0.08), BLUE_MED)
add_textbox(slide, Inches(1), Inches(0.8), Inches(11), Inches(1),
"MEDICINA VETERINARIA", font_size=20, color=BLUE_LIGHT, bold=True, alignment=PP_ALIGN.CENTER)
add_textbox(slide, Inches(1), Inches(1.5), Inches(11), Inches(0.8),
"Exposicion Academica", font_size=16, color=BLUE_LIGHT, alignment=PP_ALIGN.CENTER)
add_textbox(slide, Inches(1), Inches(2.7), Inches(11), Inches(1),
"La Biologia", font_size=44, color=BLUE_DARK, bold=True, alignment=PP_ALIGN.CENTER)
add_textbox(slide, Inches(1), Inches(3.6), Inches(11), Inches(0.8),
…Slides 1-12 created. Total slides so far: 12
# ============================================================
# COMPLETE PPTX GENERATION - SINGLE CELL
# La Biologia, su importancia y la Biologia en la Medicina Veterinaria
# 35+ slides, medical-clinical style
# ============================================================
import os
from pptx import Presentation
from pptx.util import Inches, Pt, Emu
from pptx.dml.color import RGBColor
from pptx.enum.text import PP_ALIGN, MSO_ANCHOR
from pptx.enum.shapes import MSO_SHAPE
# ---- COLOR SCHEME ----
WHITE = RGBColor(0xFF, 0xFF, 0xFF)
BLUE_DARK = RGBColor(0x1A, 0x5C, 0x8E)
BLUE_MED = RGBColor(0x4A, 0x90, 0xC4)
BLUE_LIGHT = RGBColor(0xB3, 0xD9, 0xF2)
BLUE_PALE = RGBColor(0xE8, 0xF2, 0xFA)
…Presentacion guardada: /home/user/Biologia_Medicina_Veterinaria.pptx Total de diapositivas: 38 Tamano del archivo: 632.7 KB