Skip to content

Setting rcParams fails silently in a module #525

@MartinOtter

Description

@MartinOtter

This is similar to issue #417, just that the code is put into a module and the module is included:

module test_rcparams

using PyPlot
using PyCall
rcParams = PyDict(matplotlib[:rcParams])
rcParams["font.size"] = 8.0

@show matplotlib[:rcParams]["font.size"]     # 10.0 (and not 8.0)
end

when including this file via include("test_rcparams"), a font size of 10.0 is displayed and not of 8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions