Pattern formation in microdrops of magnetic fluids