diff --git a/confluent_client/bin/stats b/confluent_client/bin/stats index c9231a43..3bfa61ee 100755 --- a/confluent_client/bin/stats +++ b/confluent_client/bin/stats @@ -22,13 +22,17 @@ import io import numpy as np import os -import sixel import subprocess import sys -class DumbWriter(sixel.SixelWriter): - def restore_position(self, output): - return +try: + import sixel + + class DumbWriter(sixel.SixelWriter): + def restore_position(self, output): + return +except ImportError: + pass def plot(gui, output, plotdata, bins):