Skip to content

Instantly share code, notes, and snippets.

@marioernestovaldes
marioernestovaldes / pymol_style.py
Created April 29, 2026 15:38 — forked from kate-fie/pymol_style.py
Create high quality PyMOL visualizations
# Originally created by: Rob Paton
# https://gist.github.com/bobbypaton/1cdc4784f3fc8374467bae5eb410edef
# Modified by: Kate Fieseler
# BallnStick: creates a ball and stick representation of an object
# Add_VDW: creates a copy of an object with full-sized, transparent spheres
# Bondi VDW values added below to override default PyMOL settings
from pymol import cmd
from pymol import util
@marioernestovaldes
marioernestovaldes / theme_bw.mplstyle
Created July 8, 2023 21:07 — forked from markusdumke/theme_bw.mplstyle
matplotlib style in the style of ggplot with white background (theme_bw)
# ggplot style with white background
# adapted from http://www.huyng.com/posts/sane-color-scheme-for-matplotlib/
patch.linewidth: 1
patch.facecolor: 348ABD # blue
patch.edgecolor: EEEEEE
patch.antialiased: True
font.size: 10.0